0.2.0 • Published 10 years ago

gulp-l10n-extract v0.2.0

Weekly downloads
1
License
MPLv2
Repository
github
Last release
10 years ago

gulp-l10n-extract

Extracts calls to gettext and similar into .po files.

Usage

var l10n = require('gulp-l10n-extract');

gulp.task('l10n', function() {
    gulp.src('src/**/*.js')
        .pipe(l10n('domain'))
        .pipe(gulp.dest('locales/en_US/LC_MESSAGES'));
});

This will make locales/en_US/LC_MESSAGES/domain.po.