theme and lang save. Notification fix
This commit is contained in:
+9
-2
@@ -8,8 +8,15 @@ i18n
|
||||
.use(LanguageDetector)
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
resources: { en: { translation: en }, ru: { translation: ru } },
|
||||
fallbackLng: "en", // язык по умолчанию
|
||||
resources: {
|
||||
en: { translation: en },
|
||||
ru: { translation: ru },
|
||||
},
|
||||
fallbackLng: "en",
|
||||
detection: {
|
||||
order: ["localStorage", "navigator"],
|
||||
caches: ["localStorage"],
|
||||
},
|
||||
interpolation: { escapeValue: false },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user