On 6/5/05, Damjan <[EMAIL PROTECTED]> wrote:
> What's the quixote idiom for writing translatable applications?
>
> I'm thinking of using python gettext, but I'm not sure if it will work
> with PTL.
I used gettext. The user's language is set in their session and the
_() translation function selected the gettext translation based on
that. I added _h() that translated to htmltext for PTL where I had
HTML in the string (unnecessary, but it avoids lots of tiresome
_('blah') + ' <p> ' + _('blah') type sutff).
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users