Merge pull request #29 from gustavo-em/fix_translations_string

Fix to string of language which doesn't are find in the repository
pull/30/head
Tiago Jacobs 2 years ago committed by GitHub
commit ec7c1991b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,11 +2,12 @@ import i18next from 'i18next'
import RNLanguages from 'react-native-languages';
import resources from './resources';
export const initTranslation = ()=>{
export const initTranslation = ()=>{
i18next.init({
compatibilityJSON: 'v3',
lng: RNLanguages.language,
resources: resources,
fallbackLng: 'en',
})
i18next.changeLanguage(RNLanguages.language);
}
Loading…
Cancel
Save