[Zope3-dev] Re: Use case not covered for translation of message
ids
Jim Fulton
jim at zope.com
Wed Sep 29 11:00:17 EDT 2004
Godefroid Chapelle wrote:
> Martijn Faassen wrote:
>
> <snip>
>
>>
>>
>> It in part probably depends on what i18n-ed applications in Zope 3
>> will look like. Will most message ids be declared in Python, or in the
>> page templates?
>
>
> This is maybe the biggest question : the first reflex is to say that any
> string should be in the ZPT. This way, presentation layer holds everything.
The presentation layer extends beyond ZPT. There is plenty of presentation
code written in Python.
> IOW, it is good that the translation happens in the ZPT engine, I am in
> no way meaning that it should happen right away in th different modules
There issue here is not where, but when. It is often apropriate
to do translation in Python code, but only in the context of a request.
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