Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import RNLanguages from 'react-native-languages'
import i18n from 'i18n-js'
import translations from './translations'
i18n.locale = RNLanguages.language
i18n.fallbacks = true
i18n.translations = translations
i18n.missingBehaviour = __DEV__ ? 'messages' : 'guess'
export default i18n