-
Notifications
You must be signed in to change notification settings - Fork 13
Internationalisation
Friedrich Lindenberg edited this page Jun 6, 2015
·
3 revisions
Translation workflow:
Update .pot file from source:
$ pybabel extract -F babel.cfg -k lazy_gettext -o spendb/translations/messages.pot spendbExamine the .pot (or at least its diff) for bogus messages, and fix up any errors in the source. Pay particular attention to templates.
Commit the updated .pot
Update .po files from .pot:
$ pybabel update -i messages.pot -d spendb/translationsEdit bin/update_translations ; you must list each language code on a separate line.
Once you have configured the supported languages, run
$ bin/update_translationsIf you are stuck with the installation or usage of SpenDB, please: search for existing bug reports or file an issue, or message the spendb mailing list.