Update localization strings and settings

This commit is contained in:
n4ze3m
2024-03-27 20:00:13 +05:30
parent 65774fe844
commit f5eca6a97b
7 changed files with 15 additions and 13 deletions

View File

@@ -11,6 +11,7 @@ export const useI18n = () => {
const changeLocale = (lang: string) => {
setLocale(lang)
i18n.changeLanguage(lang)
localStorage.setItem("i18nextLng", lang)
}
return { locale, changeLocale, supportLanguage }