31 May
2011
31 May
'11
11:19 a.m.
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 Norwegian, which is what I want). The top of the module contains this: from zope.i18nmessageid import MessageFactory _ = MessageFactory('SimpleChat') Any ideas? TIA, Morten