Hi Morten,
OK. Well I have this function now:
def _(msgid, request):
language = request['LANGUAGE']
return translate(msgid, domain='SimpleChat', target_language=language)
Which sends all the relevant bits to the translate function. But, this
doesn't work either, and I can see it
Hi Morten,
Hi Leonard,
On Tue, May 31, 2011 at 13:19, li...@nidelven-it.no wrote:
Hi,
I have a oldschool style Zope 2 product, which has an i18n
directory containing translations.
Using i18n:domain=SimpleChat in this product works fine in
the page templates,
Well, ZPTs generate
Hi,
I have a oldschool style Zope 2 product, which has an i18n
directory containing translations.
Using i18n:domain=SimpleChat in this product works fine in
the page templates, but when I start translating text in
a Python module using _(Translate me) I just get English
text (instead of