Re: Re: ptl and _('') for internationalization
Evan Laforge <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
I've done a translated quixote app and I used _h() for translated html
and _() for non-html. Technically only _() should be necessary, but
writing lots of
'<p> '
_('blah blah')
'<p> '
_('blah')
gets old fast.
Modifying the pygettext to also get _h('blah') was trivial.