diff --git a/src/vector/index.js b/src/vector/index.js index b8291dcf..a00af4f8 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -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); }