[I18n-sig] Translation docstrings with gettext

"Martin v. Löwis" martin at v.loewis.de
Wed Apr 7 16:23:48 CEST 2010


> So, question is: How to translate docstrings in my example?

You need to modify the help() function, to not directly render the
docstring, but to first pass it through gettext. It might be best to
replace inspect.cleandoc for that.

Regards,
Martin



More information about the I18n-sig mailing list