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';
|
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';
|
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-02-14 15:40:41 +00:00
|
|
|
en, ru, 'pt-BR': ptBR, 'zh-CN': zhCN, fr
|
2018-06-01 17:38:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default I18n;
|