gulp-po2json
@vslutov/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/'));
});