2018-06-01 17:38:13 +00:00
|
|
|
import I18n from 'react-native-i18n';
|
|
|
|
import en from './locales/en';
|
2018-07-25 13:14:12 +00:00
|
|
|
import ru from './locales/ru';
|
2019-02-14 15:40:41 +00:00
|
|
|
import fr from './locales/fr';
|
2019-02-21 17:17:03 +00:00
|
|
|
import de from './locales/de';
|
2018-09-27 11:43:19 +00:00
|
|
|
import ptBR from './locales/pt-BR';
|
2018-10-24 19:10:44 +00:00
|
|
|
import zhCN from './locales/zh-CN';
|
2019-03-18 19:09:40 +00:00
|
|
|
import ptPT from './locales/pt-PT';
|
2018-06-01 17:38:13 +00:00
|
|
|
|
|
|
|
I18n.fallbacks = true;
|
2018-09-27 11:43:19 +00:00
|
|
|
I18n.defaultLocale = 'en';
|
2018-06-01 17:38:13 +00:00
|
|
|
|
|
|
|
I18n.translations = {
|
2019-03-18 19:09:40 +00:00
|
|
|
en, ru, 'pt-BR': ptBR, 'zh-CN': zhCN, fr, de, 'pt-PT': ptPT
|
2018-06-01 17:38:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default I18n;
|