React-Native - i18n separate files React-Native - i18n separate files reactjs reactjs

React-Native - i18n separate files


The code from my question works like a charm. I just have wrong brackets in my import on the top

change from:

import { I18n } from '../config/i18n'

to:

import I18n from '../config/i18n'