Update localization strings and settings
This commit is contained in:
@@ -11,6 +11,7 @@ export const useI18n = () => {
|
||||
const changeLocale = (lang: string) => {
|
||||
setLocale(lang)
|
||||
i18n.changeLanguage(lang)
|
||||
localStorage.setItem("i18nextLng", lang)
|
||||
}
|
||||
|
||||
return { locale, changeLocale, supportLanguage }
|
||||
|
||||
Reference in New Issue
Block a user