[Mailman-i18n] bounce template - static string

Mark Sapiro mark at msapiro.net
Thu Feb 21 22:40:37 CET 2008

Gabor FUNK wrote:
   Date: Thu, 21 Feb 2008 22:00:23 +0100
     To: "Mark Sapiro" <mark at msapiro.net>,
         <mailman-i18n at python.org>

>>> The relevant parts of __sendAdminBounceNotice are
>>> ...
>>>              'did'      : _('disabled'),
>>> ...
>>> The _() function is the i18n translation function. If 'disabled' and
>>> 'Bounce action notification' are not being translated into Hungarian,
>>> it is because these strings are not translated in the Hungarian
>>> message catalog in your Mailman.
>>> In the current translation, these are translated as follows
>>> msgid "disabled"
>>> msgstr "kikapcsolva"
>>> msgid "Bounce action notification"
>>> msgstr "Értesítés a visszapattanási beavatkozásról"
>I use a debian testing, I doublechecked, I have the the same in the
>po/mo files, so that is why I wonder why I receive it untranslated.

Are the strings in Bouncer.py arguments to _() as in _('disabled') and
_('Bounce action notification')?  Does Bouncer.py include the lines

from Mailman import i18n


_ = i18n._

If so, I can't explain why these aren't translated.

>>> Help is always welcome. See
>>> <http://wiki.list.org/display/DEV/Internationalization>. It looks like
>>> you have helped before <http://wiki.list.org/display/DEV/Languages>.
>Yeah, I know. BTW, "Szabolcs Szigeti" is duplicated at HU.

I fixed that. Thanks.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-i18n mailing list