[Zope3-Users] i18n question

Dominique Lederer dominique.lederer at inode.at
Wed Mar 14 10:54:28 EDT 2007


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 without errors, but if i use i18nextract to get the
message catalog, my title(s) never get cataloged.

what am i missing?

thanks
Dominique


More information about the Zope3-users mailing list