You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/src/language/i18n.ts
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ i18n
13
13
.use(initReactI18next)// passes i18n down to react-i18next
14
14
.init({
15
15
resources,
16
-
lng: 'en',// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
16
+
lng: window.sessionStorage.getItem('loader-language')||'en',// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
17
17
// you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
18
18
// if you're using a language detector, do not define the lng option
0 commit comments