Skip to main content

Converts Apple .strings, Android/Java .xml or Google app resource bundle .arb files to POT gettext files.

Project description

strings2pot is useful to convert Apple .strings, Android/Java .xml or Google app resource bundle .arb 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.3.4.tar.gz (6.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for strings2pot-0.3.4.tar.gz
Algorithm Hash digest
SHA256 adf9f922b25fbac1d780ea41845c294e47e9c7eac2bd4396b623dfdb16e1ad38
MD5 a02657f1a0200ba6d238e2382d056ca3
BLAKE2b-256 641435f7cebcb14c0d253ba2c082b502f6c272431e01f1f629e8f3493c6bac28

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