const options = { debug: false, sort: false, func: { list: ['_'], extensions: ['.js', '.jsx', '.ts', '.tsx'], }, lngs: [ 'de', 'ja', 'es', 'fa', 'fr', 'it', 'el', 'ko', 'uk', 'nl', 'sl', 'sv', 'pl', 'pt', 'ru', 'tr', 'hi', 'id', 'vi', 'ms', 'he', 'ar', 'th', 'bo', 'bn', 'ta', 'si', 'zh-CN', 'zh-TW', 'ro', 'hu', ], ns: ['translation'], defaultNs: 'translation', defaultValue: '__STRING_NOT_TRANSLATED__', resource: { loadPath: './public/locales/{{lng}}/{{ns}}.json', savePath: './public/locales/{{lng}}/{{ns}}.json', jsonIndent: 2, lineEnding: '\n', }, keySeparator: false, nsSeparator: false, interpolation: { prefix: '{{', suffix: '}}', }, metadata: {}, allowDynamicKeys: true, removeUnusedKeys: true, }; module.exports = { input: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.test.{js,jsx,ts,tsx}'], output: '.', options, };