[Zope3-dev] Double translation
Jim Fulton
jim at zope.com
Tue Nov 8 15:22:26 EST 2005
It's possible, and even likely that text will be translated multiple times.
This seems to be happening with the form machinery. I suggest that this is
a bad idea. :)
Perhaps we should do something about it. Some options:
- Raise an error when it happens in testing. The new test catalog I checked
in could complain if things are translated multiple times.
- Prevent multiple translations by translating to "translated strings". A translated
string would be a unicode subclass. If asked to translate a translated string,
the translated string could be returned without change.
Thoughts?
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list