1.0.3 • Published 6 years ago

gulp-po2mo v1.0.3

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

A very simple Gulp plugin that compile .po files into .mo using gettext-parser package.

Gulpfile.js example:

var gulp = require('gulp');
var gulpPo2Mo = require('gulp-po2mo');

gulp.task('po2mo', function(){
	gulp.src('languages/**/*.po')
		.pipe(gulpPo2Mo())
		.pipe(gulp.dest('./languages'));
});

gulp.task('default', function(){
	gulp.watch('languages/**/*.po', ['po2mo']);
});

And init Gulp on console to start editing your .po file:

gulp -watch
1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago