mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-01-24 10:59:04 +00:00
10 lines
212 B
JavaScript
10 lines
212 B
JavaScript
'use strict';
|
|
|
|
let { Platform, NativeModules } = require('react-native')
|
|
let { RNI18n } = NativeModules
|
|
let I18n = require('./vendor/i18n')
|
|
|
|
I18n.locale = RNI18n.locale.replace(/_/, '-');
|
|
|
|
module.exports = I18n;
|