Firefox Rocket for Android is getting localized on Pontoon.
For converting between Android XML files and Gettext PO files (to be consumed by Pontoon) we use a local, slightly modified version of android2po (See tools/l10n/android2po
).
-
Python, Pip and Git need to be installed.
-
Run following command to install required dependencies.
pip install lxml babel termcolor
After running:
bash tools/l10n/export-strings.sh
you should have a branch which is ready to submit as pull request in l10n-repo
By running:
bash tools/l10n/import-strings.sh
you should be able to get the latest localized strings.
- Verify the changes and then commit and push the updated XML files to the app repository.