Convert en_US to en-US for i18n.js
This commit is contained in:
parent
7e5222cf60
commit
898f5cbff1
2
index.js
2
index.js
|
@ -3,6 +3,6 @@
|
||||||
var I18n = require('./vendor/i18n');
|
var I18n = require('./vendor/i18n');
|
||||||
var { RNI18n } = require('react-native').NativeModules;
|
var { RNI18n } = require('react-native').NativeModules;
|
||||||
|
|
||||||
I18n.locale = RNI18n.locale;
|
I18n.locale = RNI18n.locale.replace(/_/, '-');
|
||||||
|
|
||||||
module.exports = I18n;
|
module.exports = I18n;
|
Loading…
Reference in New Issue