A Gulp plugin to compile .po files into binary .mo files with msgfmt.
Inspired by grunt-potomo.
- This plugin requires Gulp
- GNU gettext installed and in your PATH. Installation instructions: Mac, Windows and Linux
npm install gulp-potomo --save-dev
Type: Boolean
Default: false
Whether the PO
file(s) used from source should be deleted or remove after the creation of MO
file(s).
var options: {
poDel: true
};
gulp.src(['en_GB.po', 'ne_NP.po'])
.pipe(potomo(options))
.pipe(gulp.dest('dest/languages'));
ISC © Félix Zapata