Skip to content

vslutov/gulp-po2json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gulp plugin to convert gettext .po files to JSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%