Re: [Zope3-dev] i18n translate tal:contents not translated

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 03:11, Bernd Dorn wrote:
 if i do this in a page template:

    div tal:attributes=title python:u'Title'

          i18n:attributes=title

          i18n:translate= tal:content=python:u'Title'  
 i18n:domain=zope/

      div i18n:translate= i18n:domain=zopeTitle/div

 the content of the first div gets not translated, but second does,  
 also the title attribute gets translated

For the record: As we discussed on IRC, this is a bug and it had been reported 
already. Dimitry assigned the bug to himself.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] i18n translate tal:contents not translated

2005-10-12 Thread Bernd Dorn

hello list

if i do this in a page template:

  div tal:attributes=title python:u'Title'

i18n:attributes=title

i18n:translate= tal:content=python:u'Title'   
i18n:domain=zope/


div i18n:translate= i18n:domain=zopeTitle/div

the content of the first div gets not translated, but second does,  
also the title attribute gets translated


is this a bug

thx, Bernd
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com