Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
/ po2strings Public archive

Converts PO/POT files into Apple .strings or Android .xml locale files.

License

Notifications You must be signed in to change notification settings

qurami/po2strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

po2strings

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")

About

Converts PO/POT files into Apple .strings or Android .xml locale files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages