Merge remote-tracking branch 'origin/develop' into develop

pull/5777/head
Weblate 2017-11-30 10:12:46 +00:00
commit 0061d9ad6c
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ async function loadLanguage() {
}
try {
await languageHandler.setLanguage(langs);
document.documentElement.setAttribute("lang", languageHandler.getCurrentLanguage());
} catch (e) {
console.error("Unable to set language", e);
}