Merge pull request #21 from gustavo-em/fallback_lenguage

Implementing fall back to the language in Intl library
This commit is contained in:
Tiago Jacobs 2022-04-13 14:52:14 -03:00 committed by GitHub
commit ac300e2ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ export const initTranslation = ()=>{
i18next.init({
compatibilityJSON: 'v3',
lng: RNLanguages.language,
resources: resources
resources: resources,
fallbackLng: 'en-US',
})
}