xgettext implementation for node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test/fixtures
.gitignore
README
index.js
package.json

README

Usage: babylon [options]

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -D, --directory <dir>    Directory to scan, defaults to cwd
    -o, --output <dir>       Directory to output to, defaults to cwd
    -e, --extensions <ext>   Which extensions to look into, i.e "-e js,json"
    -l, --locales <locales>  Which locales to extract
    -m, --mode <mode>        Output adapter, defaults to json
    -k, --keywords <items>   Which keyword to look for, i.e "-e gettext,_", defaults to gettext
    --verbose                Verbose mode

Installation:
    npm install babylon

Example:
    babylon -D mysourcedir, -l en,fr,es, -k gettext,_