verdnatura-chat/app/i18n/index.js

15 lines
309 B
JavaScript
Raw Normal View History

2018-06-01 17:38:13 +00:00
import I18n from 'react-native-i18n';
import en from './locales/en';
import ru from './locales/ru';
import ptBR from './locales/pt-BR';
import zhCN from './locales/zh-CN';
2018-06-01 17:38:13 +00:00
I18n.fallbacks = true;
I18n.defaultLocale = 'en';
2018-06-01 17:38:13 +00:00
I18n.translations = {
en, ru, 'pt-BR': ptBR, 'zh-CN': zhCN
2018-06-01 17:38:13 +00:00
};
export default I18n;