PoCreate lets you incrementally update your .po files as you develop by merging new translations into existing .po files.
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
This module is installed via npm:
$ npm install pocreate
var src = 'file1.js': 'gettext("hello")';var pos = 'english.po': '...';var pocreate = ;var updatedPos = pocreate;
Currently it relies on a forked version of jsxgettext which adds pluralization and multiline contextual comments for translators.