How to localize PyLucid.
- create/update *.po message file
- translate strings in *.po message file
- compile *.po message files into *.mo (binary optimized files for use by gettext)
We provide a management command for
makemessages and
compilemessages:
pylucid_project/apps/pylucid_admin/management/commands/L10n.py
for example, create/update german (de) message file:
Update all message files for all languages and all
PyLucid apps, run this:
To update one or more apps, do this:
Good editor is gtranslator. (install with aptitude installgtranslator)
Open *.po file, translate strings and save.
To compile all *.po files to *.mo files, run this:
More detailed instructions: