<commit_before># PoCreate

PoCreate lets you incrementally update your .po files as you develop by merging
new translations into existing .po files.

[![build status](https://secure.travis-ci.org/plemarquand/pocreate.png)](http://travis-ci.org/plemarquand/pocreate)

If a key is found in the source tree that doesn't exist in one or more of the supplied .po files, the key is added with
with a blank `msgstr`. Translators can then be supplied with the updated .po files and fill in the blank `msgstr` entries.

## Installation

This module is installed via npm:

``` bash
$ npm install pocreate
```

## Example Usage

``` js
var src = {'file1.js': 'gettext("hello")'};
var pos = {'english.po': '...'};

var pocreate = require('pocreate');
var updatedPos = pocreate.parse(src, pos);
```<commit_msg>Adding dependencies to README<commit_after># PoCreate

PoCreate lets you incrementally update your .po files as you develop by merging
new translations into existing .po files.

[![build status](https://secure.travis-ci.org/plemarquand/pocreate.png)](http://travis-ci.org/plemarquand/pocreate)

If a key is found in the source tree that doesn't exist in one or more of the supplied .po files, the key is added with
with a blank `msgstr`. Translators can then be supplied with the updated .po files and fill in the blank `msgstr` entries.

## Installation

This module is installed via npm:

``` bash
$ npm install pocreate
```

## Example Usage

``` js
var src = {'file1.js': 'gettext("hello")'};
var pos = {'english.po': '...'};

var pocreate = require('pocreate');
var updatedPos = pocreate.parse(src, pos);
```

## Dependencies

PoCreate depends on two great modules, [jsxgettext](https://github.com/plemarquand/jsxgettext) and
[gettext-parser](https://github.com/andris9/gettext-parser).

Currently it relies on a forked version of jsxgettext which adds pluralization and multiline contextual comments for
translators.
{'fraction_non_alphanumeric': 0.11724856696195936, 'fraction_numerical': 0.001563314226159458, 'mean_word_length': 4.647058823529412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3533385', 'n_tokens_mistral': 608, 'n_tokens_neox': 581, 'n_words': 227}