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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.