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.4.tar.gz
(3.4 kB
view details)
File details
Details for the file strings2pot-0.2.4.tar.gz.
File metadata
- Download URL: strings2pot-0.2.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a7bda23b280f27e782c647526a6f251a346c83d62bbd02ac98ed6fc5fc5420
|
|
| MD5 |
2cbbdc6d669ff422697c609ceda92fe9
|
|
| BLAKE2b-256 |
5b651d67fb3b44cad1a47eec9ea4ac2467ab29bfbcc7b8fe469377aa34dad270
|