diff --git a/customize.dist/messages.js b/customize.dist/messages.js index 2f31a516e..916afe135 100644 --- a/customize.dist/messages.js +++ b/customize.dist/messages.js @@ -15,6 +15,7 @@ var map = { var getStoredLanguage = function () { return localStorage.getItem(LS_LANG); }; var getBrowserLanguage = function () { return navigator.language || navigator.userLanguage; }; var getLanguage = function () { + if (window.cryptpadLanguage) { return window.cryptpadLanguage; } if (getStoredLanguage()) { return getStoredLanguage(); } var l = getBrowserLanguage() || ''; if (Object.keys(map).indexOf(l) !== -1) { diff --git a/www/code/inner.html b/www/code/inner.html index 485e06455..2ac5b56f8 100644 --- a/www/code/inner.html +++ b/www/code/inner.html @@ -2,7 +2,7 @@ - +