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")
Release files for po2strings 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| po2strings-0.3.5.tar.gz | 7.5 kB | Details |
Release files / po2strings-0.3.5.tar.gz
| Download URL | po2strings-0.3.5.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8043a9b5eb91de4530a38c631d49a36a86cdbedba0eb2f3bd3ef2f2b0c37f9e2
|
|
BLAKE2b-256 checksum How to use checksums |
d1d993a22b420d00950971cd8d4908e95dbd8173ab746dece6c3154e472b51ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |