This commit is contained in:
Daniel Shleifman
2021-06-06 22:44:36 +03:00
parent 0a7f922c47
commit aebcc24970

View File

@@ -8,7 +8,7 @@ i18n
.use(LanguageDetector)
.use(initReactI18next)
.init({
fallbackLng: 'en', // default
fallbackLng: 'en', // default language will be used if none of declared lanuages detected (en, ru)
interpolation: { escapeValue: false }, // react already safes from xss
resources: { en: { translation: translationEN }, ru: { translation: translationRU } },
})