diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index f68463f9e..5ebfa6a19 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -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*/) {