[Zope3-Users] i18n question

2007-11-12 Thread Christian Klinger
Hi, what is the recommended way in translating an already existing msgid. For example: there a some translations in zope/app/locales/de/LC_MESSAGES/zope.po. But i don´t like the german translations. Should i write my new translations in this file? Or is it possible to do this in my own

[Zope3-Users] i18n question

2007-03-14 Thread Dominique Lederer
i have a viewlet where this method resides: def title(self): from zope.i18nmessageid import MessageFactory _ = MessageFactory('my_domain') return _(self.__name__) the pagetemplates for the viewlet renders the title like p tal:content=view/title / the templates renders

Re: [Zope3-Users] i18n question

2007-03-14 Thread Dominique Lederer
Dominique Lederer schrieb: i have a viewlet where this method resides: def title(self): from zope.i18nmessageid import MessageFactory _ = MessageFactory('my_domain') return _(self.__name__) the pagetemplates for the viewlet renders the title like p

Re: [Zope3-Users] I18N question

2006-09-05 Thread Stephan Richter
On Tuesday 27 June 2006 08:08, Frank Burkhardt wrote:  data={     'foo':{        'en':unice Foo,        'de':uschoener Foo     },     'bar':{        'en':ueven better Bar,     } How could I do this? Just do the usual thing: _(u'text'). If you do not type the text in Python, then you