hardcoded error strings meant for developers / debugging are in English.All other strings MUST be translateable, that is called as a gettext function. To achieve this, you do the following:
If your modules can be called as a standalone script you should add this to your main part:
if name == '__main__':
import gettext
_ = gettext.gettext()
# ... now on to other stuff
|
Now, whenever you use a string, do it like
print _("this will be automatically translated")
instead of
print "this can't be translated and should thus not be written this way"
|