node package manager

gulp-po2json

gulp-po2json

Convert .po files to JSON using po2json

Install

Install with npm

npm install --save-dev gulp-po2json

Examples

var gulp = require('gulp');
var po2json = require('gulp-po2json');
 
gulp.task('po2json', function () {
    return gulp.src(['po/**/*.po'])
        .pipe(po2json())
        .pipe(gulp.dest('dist/translations/'));
});