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.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file po2strings-0.2.3.tar.gz.

File metadata

  • Download URL: po2strings-0.2.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for po2strings-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ec5f8a766f41999cfb22a4ec84634ff71145c51e1027ef0af18d3d358a589416
MD5 8ef690fe4e96caa07b3241e283ff07ac
BLAKE2b-256 5d4deae61540b3fb03d01962bf2f07e8a0aab241d46d2160ff6fe6bc517d38b5

See more details on using hashes here.

Supported by

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