gulp-xgettext-js-more-better
v0.0.6
Published
Gulp plugin to extract translatable strings from Javascript
Downloads
5
Maintainers
Readme
gulp-xgettext-js-more-better
Extract translatable strings using xgettext-js-more-better
Install
Install with npm
npm install --save-dev gulp-xgettext-js-more-better
Example
var gulp = require('gulp');
var xgettext = require('gulp-xgettext-js-more-better');
gulp.task('pot', function () {
return gulp.src(['src/**/*.js'])
.pipe(xgettext({
// options to pass to xgettext-js-more-better...
}))
.pipe(gulp.dest('po/'));
});