gulp-l10n-extract

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i gulp-l10n-extract

Weekly Downloads

1

Version

0.2.0

License

MPLv2

Last publish

Collaborators

  • mythmon