fix: translation without reloading (#1215)

* fix: translation without reloading

* fix: language switch
This commit is contained in:
Chell
2022-10-12 13:52:02 +02:00
committed by GitHub
parent 23f3fe1e3c
commit 8f7a8d7d4f
4 changed files with 7 additions and 4 deletions

View File

@ -554,7 +554,7 @@ export function changeLanguage(language) {
localStorage.setItem("language", language);
changeMomentLanguage(language);
i18next.changeLanguage(language);
window.location.reload(true);
// window.location.reload(true);
}
export function changeMomentLanguage(language) {