Philipp von Weitershausen wrote:
Dmitry Vasiliev wrote:
- Should we do automatic translation for msgid's inside a TALES expression?


IMO we shouldn't do automatic translation at all.

How then we want to translate TALES expressions like "some text ${msgid}"? The only way now is explicit translate() inside the view.


- Maybe we need some new TALES expression type for msgid definition? For example:

<tal:block define="name msgid:Specific">


Why? Use case?

See zope/app/apidoc/ifacemodule/iface_macros.pt at the end. With the msgid type we can define msgid's right in TAL code.

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
    http://hlabs.spb.ru


_______________________________________________ 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