[Zope] [i18n] i18n not working in nested macros?

Andreas Jung lists at zopyx.com
Wed May 24 14:39:54 EDT 2006


I am running a Plone site with Plone 2.1.X on top of Zope 2.8.6.
I have a case  where base_edit calls a macro for a self-written macro which 
calls  another helper macro. This one contains something stupid as

 <label i18n:translate="enddate">end date</label>

However the content of the tag is never translated...all macros define
i18n:plone inside the HTML tag, the tag defining the macro and also
I put inside the <label> tag. When I move the <label> tag inside the macro 
called by base_edit then everything works fine. I also added debug code to 
PTS to see if there is a problem with the translation service  however the
related message id never shows up. I have not track this down so far inside 
the TAL code...anyone ever encountered such a strange behavior?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060524/2bf665b0/attachment.bin


More information about the Zope mailing list