[Zope3-dev] Re: Use case not covered for translation of message
ids
Jim Fulton
jim at zope.com
Mon Sep 27 13:51:47 EDT 2004
Martijn Faassen wrote:
> Jim Fulton wrote:
> [snip]
>
>>> Would there be something to say for switching on automatic
>>> translation on per-page in ZCML?
>>
>>
>>
>> A page indicates that it wants text to be translated using i18n:translate
>> attributes.
>>
>
> Doesn't that require setting the message id in it? But the message id is
> already available, in the i18n string. What does the i18n:translate
> attribute look like in this case?
If the source string and the message id are the same, then
the value of the i18n:translate attribute is empty. In that case,
the attribute functions to indicate that translation should be done.
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