[Zope3-dev] Re: [Zope3-checkins] CVS: Zope3/src/zope/app/services - view.py:1.18
Stephan Richter
stephan.richter@tufts.edu
Tue, 6 May 2003 08:23:02 -0400
On Tuesday 06 May 2003 07:18, Florent Guillaume wrote:
> def usageSummary(self):
> + # XXX L10N This should be localizable.
> ifname = getattr(self.forInterface, '__name__', "(Anything)")
> s = "%s %s for %s" % (self.viewName, self._what, ifname)
> if self.layer and self.layer != "default":
This is a bug anyways, since s should be a unicode string.
I dunno how much sense it makes tagging places with XXX I18n or L10n comments,
since we should do a really careful walkthrough at some point.
However, I noticed that a lot of the UI translatable strings come from ZCML; I
looked into writing this (ZCML I18n) code but got quiet lost. If David or Jim
could do this, then I would volunteer (and I assume sathya would want to help
as well) to go systematically through the code and internationalize it.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training