Converts PO/POT files into Apple .strings or Android .xml locale files.
Project description
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")
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
po2strings-0.3.6.tar.gz
(7.5 kB
view details)
File details
Details for the file po2strings-0.3.6.tar.gz
.
File metadata
- Download URL: po2strings-0.3.6.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 303b37d329baf3181f34576c710314bbcd3057b012e04008ba47a198a4dfd97e |
|
MD5 | d73a833ad53e1391fd0e505f9b6da7ec |
|
BLAKE2b-256 | ad43d7de80318ecf49411d1f1527b98fc7599c34bc9f7147abe7f2af37a2e47a |