Josef Meile wrote:
<html>
<body tal:omit-tag=""
tal:define="domain python:request.get('domain','JMGui')">
<div tal:replace="domain"/>
<h2 i18n:domain="JMMessages" i18n:translate="">Wrong selection</h2>
<h2 tal:attributes="i18n:domain domain;
i18n:translate string:">Wrong selection</h2>
</body>
</html>
I think if you find yourself needing to do something like this, your
application logic is flawed.
i18n:domain should never need to be dynamic in this fashion...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt