[Zope3-dev] Re: Use case not covered for translation of message ids

Jim Fulton jim at zope.com
Sat Sep 25 10:10:55 EDT 2004


Martijn Faassen wrote:
> Jim Fulton wrote:
> 
>> Godefroid Chapelle wrote:
> 
> 
>>> I would like to remind that if the site manager does not setup any 
>>> language, the default string will be output : this avoids any 
>>> surprises like german in the middle of english.
>>
>>
>> You mean, if translation is disabled, there will be no translation.
>> I don't see what this has to do with whether translation should be
>> implicit.
> 
> 
> how does one enable translation in ZPT?

You provide a translation hook.

...

> 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.

> What is the use case for not switching this on by default? How would a 
> developer get in trouble?

It is on by default.

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