# gulp-potomo

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

Latest version **1.1.0** (published 2019-02-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install gulp-potomo
pnpm add gulp-potomo
yarn add gulp-potomo
bun add gulp-potomo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-02-05 |
| First published | 2016-04-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 8 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Felix Zapata |
| Maintainers | felixzapata |
| Keywords | gulp, gulpplugin, i18n, translation, potomo, wordpress |

## Links

- npm: https://www.npmjs.com/package/gulp-potomo
- Repository: https://github.com/felixzapata/gulp-potomo
- Homepage: https://github.com/felixzapata/gulp-potomo#readme
- Issues: https://github.com/felixzapata/gulp-potomo/issues
- npm.io page: https://npm.io/package/gulp-potomo

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [ramda](https://npm.io/package/ramda.md) ^0.21.0
- [shelljs](https://npm.io/package/shelljs.md) ^0.6.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0
- [through2](https://npm.io/package/through2.md) ^2.0.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-02-05
- 1.0.3 — 2017-08-10
- 1.0.2 — 2016-10-17
- 1.0.1 — 2016-04-28
- 1.0.0 — 2016-04-27

## README

# gulp-potomo

[![Build Status](https://travis-ci.org/felixzapata/gulp-potomo.png)](https://travis-ci.org/felixzapata/gulp-potomo)

[![Package Quality](http://npm.packagequality.com/badge/gulp-potomo.png)](http://npm.packagequality.com/badge/gulp-potomo.png)

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

Inspired by [grunt-potomo](https://github.com/axisthemes/grunt-potomo).

## Requirements
* This plugin requires Gulp
* [GNU gettext](http://www.gnu.org/software/gettext/) installed and in your PATH. Installation instructions: [Mac](http://brewformulas.org/Gettext), [Windows](http://gnuwin32.sourceforge.net/packages/gettext.htm) and [Linux](http://ftp.gnu.org/pub/gnu/gettext/)

## Getting Started

```shell
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

```js
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](CHANGELOG.md).

## License

ISC © [Félix Zapata](http://github.com/felixzapata)

---
_Source: https://npm.io/package/gulp-potomo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
