0.1.1 • Published 8 years ago

grunt-i18n-collect v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

grunt-i18n-collect

Collect i18n keys from sources

##Installation

//Gruntfile.js
module.exports = function (grunt) {
    grunt.initConfig({
        i18nCollect: {
            options: {
                locales: ['en', 'ru', 'uk'],
                method: 'translate'
            },
            app: {
                files: [
                    {
                        src: [
                            'src/**/*.js'
                        ],
                        dest: 'src/i18n'
                    }
                ]
            }
        }
    });
    
    grunt.loadNpmTasks('grunt-i18n-collect');

    //... your Grunt tasks
};
0.1.1

8 years ago

0.1.0

9 years ago