react-native-i18n/index.js

8 lines
151 B
JavaScript
Raw Normal View History

import {NativeModules} from 'react-native'
import I18n from 'i18n-js'
const {RNI18n} = NativeModules
2015-06-14 10:47:18 +00:00
I18n.locale = RNI18n.locale
2015-06-14 12:14:02 +00:00
export default I18n