Use CryptPad language settings for OnlyOffice

pull/1/head
yflory 4 years ago
parent d4232a2c17
commit abe717fb10

@ -1200,7 +1200,7 @@ define([
"firstname": metadataMgr.getUserData().name || Messages.anonymous,
},
"mode": "edit",
"lang": (navigator.language || navigator.userLanguage || '').slice(0,2)
"lang": (window.cryptpadLanguage || navigator.language || navigator.userLanguage || '').slice(0,2)
},
"events": {
"onAppReady": function(/*evt*/) {

Loading…
Cancel
Save