PoeHaH / gulp-potomo

A Gulp plugin to compile .po files into binary .mo files with msgfmt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-potomo

Build Status

Package Quality

A Gulp plugin to compile .po files into binary .mo files with msgfmt.

Inspired by grunt-potomo.

Requirements

Getting Started

npm install gulp-potomo --save-dev

The "potomo" task

Options

options.poDel

Type: Boolean
Default: false

Whether the PO file(s) used from source should be deleted or remove after the creation of MO file(s).

Example config

var options: {                       
  poDel: true
};

gulp.src(['en_GB.po', 'ne_NP.po'])
  .pipe(potomo(options))
  .pipe(gulp.dest('dest/languages'));

License

ISC © Félix Zapata

About

A Gulp plugin to compile .po files into binary .mo files with msgfmt

License:ISC License


Languages

Language:JavaScript 100.0%