Socket
Socket
Sign inDemoInstall

gulp-potomo

Package Overview
Dependencies
73
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-potomo

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


Version published
Maintainers
1
Install size
1.82 MB
Created

Readme

Source

gulp-potomo

Build Status

Package Quality

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

Inspired by grunt-potomo.

Requirements

  • This plugin requires Gulp
  • GNU gettext installed and in your PATH. Installation instructions: Mac, Windows and Linux

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).

options.verbose

Type: Boolean
Default: true

Whether file creation and completion messages should be shown.

Example config

var options: {                       
  poDel: true,
  verbose: false
};

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

Release History

Read the full changelog.

License

ISC © Félix Zapata

Keywords

FAQs

Last updated on 05 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc