gulp-po2json
Convert .po files to JSON using po2json
Install with npm
npm install --save-dev gulp-po2json
const gulp = require('gulp');
const po2json = require('gulp-po2json');
gulp.task('po2json', function () {
return gulp.src(['po/**/*.po'])
.pipe(po2json())
.pipe(gulp.dest('dist/translations/'));
});