Skip to content

Commit

Permalink
try fx localization problem #2881
Browse files Browse the repository at this point in the history
  • Loading branch information
ShchipskiiYura committed Jun 17, 2024
1 parent 7213568 commit fa6685f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ const locales = getLocales()
if (Array.isArray(locales)) {
CACHE_SELECTED_LANGUAGE = locales[0].languageTag
} else {
CACHE_SELECTED_LANGUAGE = 'en-US'
CACHE_SELECTED_LANGUAGE = 'en'
}

i18n.use(initReactI18next).init({
compatibilityJSON: 'v3',
lng: CACHE_SELECTED_LANGUAGE,
fallbackLng: 'en-US',
fallbackLng: 'en',
resources: {
en: { translation: en },
ru: { translation: ru },
Expand Down

0 comments on commit fa6685f

Please sign in to comment.