Skip to main content

Converts Apple .strings or Android/Java .xml files to POT gettext files.

Project description

strings2pot is useful to convert Apple .strings or Android/Java .xml files to POT gettext files.

Installation

pip install strings2pot

Command line usage

root@host$ strings2pot <STRINGS_FILE> <POT_FILE>

e.g.

root@host$ strings2pot Localizable.strings my_ios_app.pot

root@host$ strings2pot values.xml my_android_app.pot

Code usage

from strings2pot import strings2pot

executed, error_message = strings2pot.run("Localizable.strings", "my_ios_app.pot")

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

strings2pot-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file strings2pot-0.2.0.tar.gz.

File metadata

  • Download URL: strings2pot-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for strings2pot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 094c7bec8c53f1be1e8b31ef976f4a752cb4bb05e58f0c2f5910ca389e0c4934
MD5 eb8b23377786e508b64dcc5279e78e7a
BLAKE2b-256 ed6e440b9dccdd932e79d7a4e19d12ecda017428812c47d90f7e57fff458793b

See more details on using hashes here.

Supported by

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