Prop2PO package converts a java property file into a Gettext PO file.
You can install the package from pypi.
pip install prop2po
# Basic use of the package
prop2po messages.properties messages.po
The available options are
Name | Shortcut | Type | Explanation |
---|---|---|---|
--language | -l | TEXT | Language of the translation |
--project | -p | TEXT | Name of the project |
--encoding | -e | TEXT | Encoding of the file |
# Print help
prop2po --help