Parser for poEdit implemented in PHP. use same API as xgettext. We use it for parsing our javascript and html templates files in our Backbone apps. Caution: this is NOT an xgettext javascript language implementation, this is JUST a parser for many files (that we use for our *.js and *.html files) and have no language syntax check implementation.
Heavily inspired by jsgettext
The recommended way to install Jsgettext is through Composer:
{
"require": {
"wisembly/jsgettext": "@stable"
}
}
Simply create a new parser in poEdit (name it for example Javascript
)`.
Then, set up jsgettext like this:
$ bin/dumper -i input.po -o output.json
PHP >= 5.3
Jsgettext is released under the MIT License. See the bundled LICENSE file for details.