react-native-i18n/index.js

7 lines
182 B
JavaScript
Raw Normal View History

2015-06-14 10:47:18 +00:00
var React = require('react-native');
var I18n = require('i18n');
var { NativeI18n } = require('react-native').NativeModules;
I18n.locale = NativeI18n.locale;
module.exports = I18n;