We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d6c12 commit cc71c12Copy full SHA for cc71c12
Gruntfile.js
@@ -407,6 +407,20 @@ module.exports = grunt => {
407
'./docs/reference/data.min.json': './docs/reference/data.json'
408
}
409
410
+ },
411
+ i18next: {
412
+ dev: {
413
+ sort: true,
414
+ src: 'src/**/*.js',
415
+ dest: 'assets',
416
+ options: {
417
+ lngs: ['en'],
418
+ resource: {
419
+ loadPath: 'i18n/{{lng}}/{{ns}}.json',
420
+ savePath: 'i18n/{{lng}}/{{ns}}.json'
421
+ }
422
423
424
425
};
426
@@ -456,6 +470,7 @@ module.exports = grunt => {
456
470
grunt.loadNpmTasks('grunt-karma');
457
471
grunt.loadNpmTasks('grunt-contrib-clean');
458
472
grunt.loadNpmTasks('grunt-simple-nyc');
473
+ grunt.loadNpmTasks('i18next-scanner');
459
474
460
475
// Create the multitasks.
461
476
grunt.registerTask('build', [
0 commit comments