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.

Source Distribution

po2strings-0.2.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page