On 6/5/05, Damjanwrote: > 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') + ' ' + _('blah') type sutff).