Skip to content

gabegorelick/gulp-po2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-po2json

Convert .po files to JSON using po2json

Install

Install with npm

npm install --save-dev gulp-po2json

Examples

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/'));
});

About

Gulp plugin to convert gettext .po files to JSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published