This utility helps the localization of LibreOffice extensions. It has started as a project to ease the localization of Page Numbering Addon extension.
Currently under development so it only works for Page Numbering Addon. Global implementation to follow.
- Python 2.7
- Python packages
- sys
- os
- argparse
- zipfile
- subprocess
- re
- Linux packages
- zip
- poedit
- itstool
python2.7 l10next.py path_to_oxt locale
For example:
python2.7 l10next.py ./PageNumberingAddonPython-0.0.1.oxt it
The utility creates all required files at the same directory as l10next.py
Please note that you should not edit special characters such as >
or <emph>
in the .po files.
After every edit, one has to follow the last option to compile a new oxt with the required localization.
The whole root directory that the .py
is located, excluding the .py
file should be commited to the corresponding repository branch.