@vslutov/gulp-po2json
v1.0.1
Published
Gulp plugin to convert gettext .po files to JSON
Downloads
4
Readme
@vslutov/gulp-po2json
Convert .po files to JSON using po2json
Fork of gabegorelick/gulp-po2json: set domain info from filename
Install
Install with npm
npm install --save-dev @vslutov/gulp-po2json po2json
Examples
const gulp = require('gulp');
const po2json = require('@vslutov/gulp-po2json');
gulp.task('po2json', function () {
return gulp.src(['po/**/*.po'])
.pipe(po2json())
.pipe(gulp.dest('dist/translations/'));
});