mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
c9d0670362
* 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
12 lines
191 B
JavaScript
12 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
|