diff --git a/react-native/app/translations/index.ts b/react-native/app/translations/index.ts index b22fce0..a1164f5 100644 --- a/react-native/app/translations/index.ts +++ b/react-native/app/translations/index.ts @@ -2,10 +2,12 @@ import i18next from 'i18next' import RNLanguages from 'react-native-languages'; import resources from './resources'; -export const initTranslation = ()=>{ +export const initTranslation = ()=>{ + console.log(RNLanguages.language) i18next.init({ compatibilityJSON: 'v3', lng: RNLanguages.language, - resources: resources + resources: resources, + fallbackLng: 'en-US', }) } \ No newline at end of file