Skip to main content

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

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
po2strings-0.3.6.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None Dec 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page