Skip to content
Snippets Groups Projects
Select Git revision
  • a4a1df66c3e6ce6b23de96c41fc04ae8416bc651
  • main default protected
  • demo protected
  • master
  • icon-set-mapping
  • production protected
  • revert-62666d1a
  • favorites-and-recent-files
  • lit2
  • wc-part
  • mark-downloaded-files
  • feature/annotpdf-test
  • fix-zip-upload
  • config-cleanup
  • wip
  • app-shell-update
16 results

i18next-scanner.config.js

  • i18next-scanner.config.js 390 B
    module.exports = {
        input: [
            'src/**/*.js',
        ],
        output: './',
        options: {
            debug: false,
            removeUnusedKeys: true,
            lngs: ['en','de'],
            func: {
                list: ['i18n.t', 'i18nKey']
            },
            resource: {
                loadPath: 'src/i18n/{{lng}}/{{ns}}.json',
                savePath: 'src/i18n/{{lng}}/{{ns}}.json'
            },
        },
    }