Recipients, docs@python
Date 2013-01-28.21:15:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The examples for the topic presented are rather weak. In fact, they merely present do nothing replacements for an actually working, deferred localization mechanism or some sort of prototypical implementation thereof.

As such I propose that they be replaced with something more meaningful,
for example such as 

class DeferredTranslation(object):

    def __init__(self, message, ...):

        self.message = message

    def __str__(self):

        return gettext.translation(...).lgettext(self.message)

def _(message, ...):

    return DeferredTranslation(message, ...)

MSG = _('localized message')

Or something else along that way other than the currently presented examples :D
Date User Action Args
2013-01-28 21:15:46carsten.klein@axn-software.desetrecipients: +, docs@python
2013-01-28 21:15:45carsten.klein@axn-software.desetmessageid: <>
2013-01-28 21:15:45carsten.klein@axn-software.delinkissue17067 messages
2013-01-28 21:15:45carsten.klein@axn-software.decreate