rsnext/examples/with-i18next/tools/startI18n.js
Átila Fassina c9d0670362 with-i18next example (#1496)
* examples/with-i18next: create folder and initial settings

* examples/with-i18next:abstract url and object keys - finish readme

* examples/with-i18next: next@beta is not actually necessary

* examples/with-it18next: fix standardjs eslint warnings

* examples/with-i18next: review updates
2017-04-30 07:35:07 -07:00

11 lines
191 B
JavaScript

import i18n from 'i18next'
const startI18n = file => i18n.init({
fallbackLng: 'pt',
resources: file,
ns: ['common'],
defaultNS: 'common',
debug: false
})
export default startI18n