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
Release history Release notifications | RSS feed
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.3.tar.gz
(3.4 kB
view details)
File details
Details for the file strings2pot-0.2.3.tar.gz.
File metadata
- Download URL: strings2pot-0.2.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d646a91545d8304d4e2acef4d2718b3373a02d20c75a3c0bcd424399021e91
|
|
| MD5 |
14a0ff707591c2de849e3a169e7b791f
|
|
| BLAKE2b-256 |
c2146f1b8a677c928f1f6cd137048a04cf9e8e14a16b7f5fc9f0b3542a9734f6
|