jcerjak / pojson Goto Github PK
View Code? Open in Web Editor NEWThis project forked from obviel/pojson
License: BSD 3-Clause "New" or "Revised" License
This project forked from obviel/pojson
License: BSD 3-Clause "New" or "Revised" License
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> Pretty-print output:: $ pojson -p <path/to/po> Help:: $ pojson --help Normally you would send the output to a file, such as:: $ pojson something.po > something.json Normally pojson will try to guess the encoding of the .po file, but you can also explicitly supply an encoding:: $ pojson -e utf-8 something.po > something.json _`Javascript Gettext`: http://jsgettext.berlios.de/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.