10 lines
212 B
JavaScript
Raw Normal View History

2015-06-14 19:14:02 +07:00
'use strict';
2015-06-14 17:47:18 +07:00
2015-12-11 13:37:50 +01:00
let { Platform, NativeModules } = require('react-native')
2015-12-14 11:39:36 +01:00
let { RNI18n } = NativeModules
let I18n = require('./vendor/i18n')
2015-06-14 19:14:02 +07:00
I18n.locale = RNI18n.locale.replace(/_/, '-');
2015-06-14 17:47:18 +07:00
module.exports = I18n;