Package: wnpp
Owner: Christopher Hoskin <
christopher.hoskin@gmail.com>
Severity: wishlist
X-Debbugs-CC:
debian-devel@lists.debian.org,
debian-python@lists.debian.org* Package name : python-pojson
Version : 0.6
Upstream Author : Martijn Faassen <
faassen@startifact.com>
* URL :
https://pypi.python.org/pypi/pojson* License : BSD-3-Clause
Programming Lang: Python
Description : converts PO files to JSON
pojson
******
.
pojson is a tool that allows you to create JSON data files from PO
files. These files are designed to be used with Obviel_'s `i18n support`_.
.
* _Obviel:
http://obviel.org/ .
* _`i18n support`:
http://www.obviel.org/en/latest/i18n.html .
The `_javascript_ Gettext`_ already provides a Perl-based tool (po2json)
that is very similar, so this can be seen as a rewrite to Python. One
difference is that pojson does not output domain information in the
resulting datastructure - it is one level less deep. The domain
information must instead be supplied when the file is loaded.
.
Basic use to generate a JSON file::
.
$ pojson <path/to/po>
.