Josef Meile wrote:
  <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>

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...


Simplistix - Content Management, Zope & Python Consulting

ZPT mailing list

Reply via email to