File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ import i18n from 'i18next';
44
55import de from './translation-files/de.json' ;
66import en from './translation-files/en.json' ;
7+ import fr from './translation-files/fr.json' ;
8+ import it from './translation-files/it.json' ;
79
810import 'intl-pluralrules' ;
911import RNLanguageDetector from '@os-team/i18next-react-native-language-detector' ;
1012
11- export const supportedLanguages = [ 'en' , 'de' ] ;
13+ export const supportedLanguages = [ 'en' , 'de' , 'fr' , 'it' ] ;
1214
1315export const defaultLanguage = 'en' ;
1416
@@ -26,6 +28,12 @@ if (!i18n.isInitialized) {
2628 en : {
2729 translation : en ,
2830 } ,
31+ fr : {
32+ translation : fr ,
33+ } ,
34+ it : {
35+ translation : it ,
36+ } ,
2937 } ,
3038 defaultNS : 'translation' ,
3139 fallbackLng : defaultLanguage ,
You can’t perform that action at this time.
0 commit comments