Re: ptl and _('') for internationalization
Neil Schemenauer <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
Michael Watkins <[email protected]> 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