durusmail: quixote-users: Re: ptl and _('') for internationalization
ptl and _('') for internationalization
2005-09-05
Re: ptl and _('') for internationalization
2005-09-07
Re: ptl and _('') for internationalization
Neil Schemenauer
2005-09-06
Michael Watkins  wrote:
> Using the gettext convention of marking up strings with _('the string') has
> one undesirable side effect in ptl - the need to wrap all such strings in
> htmltext().

Why not just write you own version of _?  Something like:

    def _(*args, **kwargs):
        return htmltext(gettext(*args, **kwargs))

Am I missing something?

  Neil

reply