1234567891011121314151617181920212223242526272829303132333435363738394041 |
- module.exports = {
- debug: true,
- removeUnusedKeys: true,
- func: {
- list: ['t', 'props.t', 'this.props.t'],
- extensions: ['.js', '.jsx']
- },
- lngs: ['en', 'fr'],
- defaultLng: 'en',
- keySeparator: false,
- nsSeparator: false,
- fallbackLng: false,
-
- ns: ['translation'],
- defaultNS: 'translation',
-
-
-
-
-
-
- defaultValue: (lng, ns, key) => lng === 'en' ? key : '__NOT_TRANSLATED__',
-
- react: {wait: true},
-
- resource: {
-
-
- loadPath: 'i18next.scanner/{{lng}}/{{ns}}.json',
-
-
- savePath: '{{lng}}/{{ns}}.json',
- jsonIndent: 2,
- lineEnding: '\n'
- },
-
-
-
- trans: false,
- }
|