qurami / po2strings

Converts PO/POT files into Apple .strings or Android .xml locale files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

po2strings

po2strings is useful to convert PO/POT gettext files into Apple .strings or Android/Java .xml files.

Installation

pip install po2strings

Command line usage

root@host$ po2strings <PO_FILE> <STRINGS_FILE>

e.g.

root@host$ po2strings en.po Localizable.strings

root@host$ po2strings en.po values.xml

Code usage

from po2strings import po2strings

executed, error_message = po2strings.run("en.po", "Localizable.strings")

About

Converts PO/POT files into Apple .strings or Android .xml locale files.

License:MIT License


Languages

Language:Python 99.8%Language:Makefile 0.2%