react-native-i18n/index.js

8 lines
161 B
JavaScript
Raw Normal View History

2015-06-14 12:14:02 +00:00
'use strict';
2015-06-14 10:47:18 +00:00
2015-06-14 12:14:02 +00:00
var I18n = require('./vendor/i18n');
var { RNI18n } = require('react-native').NativeModules;
I18n.locale = RNI18n.locale;
2015-06-14 10:47:18 +00:00
module.exports = I18n;