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   [EMAIL PROTECTED]
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to