infinitered / ignite-i18n

An ignite plugin for react-native-i18n.
4 stars 9 forks source link

For locale 'in' it loads 'id.json' #8

Closed rmvermeulen closed 6 years ago

rmvermeulen commented 7 years ago
  case 'in':
    I18n.translations.in = require('./languages/id.json')
    break
  case 'id':
    I18n.translations.id = require('./languages/id.json')
    break

I'm not sure 'in' is an actual locale, but it seems to load the wrong file regardless. Cheers.

jamonholmgren commented 7 years ago

@axit-rasmus I didn't see your issue until now -- want to submit a PR to fix this?