Skip to content

Commit

Permalink
Merge pull request #3627 from ingef/fix/html-lang
Browse files Browse the repository at this point in the history
set html language dynamically
  • Loading branch information
thoniTUB authored Dec 2, 2024
2 parents 7a125d4 + f77b42d commit c6d6526
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ import translationsEn from "./localization/en.json";
i18next.addResourceBundle("de", "translation", translationsDe, true, true);
i18next.addResourceBundle("en", "translation", translationsEn, true, true);
i18next.changeLanguage(language);
// Set html language
document.documentElement.lang = language;

conquery({ theme });

0 comments on commit c6d6526

Please sign in to comment.