verdnatura-chat/app/i18n/index.js

17 lines
379 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';
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';
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 = {
2019-02-21 17:17:03 +00:00
en, ru, 'pt-BR': ptBR, 'zh-CN': zhCN, fr, de
2018-06-01 17:38:13 +00:00
};
export default I18n;