tags:

views:

34

answers:

2

i need python script to convert po file to localized json

A: 

you might start here http://docs.python.org/library/gettext.html and here http://docs.python.org/library/json.html

lunixbochs
you can also check out some utility files at http://po-utils.progiciels-bpi.ca
wescpy
A: 

http://jsgettext.berlios.de/ contains a .po to json converter (perl) - for python you can use polib (http://code.google.com/p/polib/ - sorry but i can only use one hyperlink per post :/) to access .po file contents and transform as desired

markus