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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for po2strings-0.3.5.tar.gz
Algorithm Hash digest
SHA256 8043a9b5eb91de4530a38c631d49a36a86cdbedba0eb2f3bd3ef2f2b0c37f9e2
MD5 5750fe747e6641c35be10f6b6a5a5a95
BLAKE2b-256 d1d993a22b420d00950971cd8d4908e95dbd8173ab746dece6c3154e472b51ff

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