[Zope3-dev] Re: RFC: undeprecate auto-message id translation

Florent Guillaume fg at nuxeo.com
Tue Dec 6 06:24:39 EST 2005


Martijn Faassen wrote:
> Current (deprecated) behavior of Zope 3
> ----------------------------------------
> 
> If a message id is defined in python, such as _("Foo"), it gets 
> translated by the page template engine automatically when it enters 
> through a tal:content, tal:replace, or tal:attributes. No i18n:translate 
> is needed.
> [...]
> My proposal is to recommend the use of i18n:translate for ZPT 
> translation only, and let the ZPT engine automatically translate 
> messages when they come from Python.

+1.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope3-dev mailing list