diff --git a/angular_app/Gruntfile.js b/angular_app/Gruntfile.js new file mode 100644 index 0000000..c25eaa8 --- /dev/null +++ b/angular_app/Gruntfile.js @@ -0,0 +1,21 @@ +'use strict'; + +module.exports = function(grunt) { + grunt.initConfig({ + i18nextract: { + default_options: { + src: ['*.html', 'js/*.js'], + lang: ['it_IT'], + dest: '../static/i18n' + } + } + } + ); + + grunt.loadTasks('tasks'); + grunt.loadNpmTasks('grunt-angular-translate'); + + grunt.registerTask('translate', ['i18nextract']); + grunt.registerTask('default', ['translate']); +}; +