Localization¶
gettext¶
Betty uses gettext to manage its translations:
Betty will compile
*.mofiles internally. You will never have to do this manuallyBetty will manage
*.potand*.pofiles automatically if you use the*-translationscommandsYou will have to add translations to
*.pofiles yourself
Working on translatable strings¶
Run betty dev-update-translations to update the translations files with the changes you made.
Translating Betty¶
The Betty community uses Weblate to coordinate translations of its built-in translatable strings. To add or improve translations, create a Weblate account, navigate to the Betty translation you want to contribute to, and start translating.
Changes made in Weblate will be synchronized back to Betty in the form of pull requests once every 24 hours.