Locale-Simple-0.016

NAME

po2json - Command line tool for converting a po file into a Gettext.js compatible json dataset

VERSION

version 0.016

SYNOPSIS

po2json /path/to/domain.po > domain.json

DESCRIPTION

This takes a PO file, as is created from GNU Gettext's xgettext, and converts it into a JSON file.

The output is an annonymous associative array. So, if you plan to load this via a <script> tag, more processing will be require (the output from this program must be assigned to a named javascript variable). For example: