bug in ZPT engine with tal:on-error and i18n:translate
Bug #143501 reported by
Godefroid Chapelle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.tal |
Invalid
|
Medium
|
Unassigned |
Bug Description
The content inserted by tal:on-error in an element is not translated by the i18n machinery.
How to demonstrate :
add two files to test suite of TAL
> input/test37.html
> <span i18n:translate="" tal:content="xxx" tal:on-
> <span i18n:translate="" tal:content=
> output/test37.html
> <span>NO XXX</span>
> <span>XXX</span>
the supplementary test fails; the output produced is :
> <span>No xxx</span>
> <span>XXX</span>
For those that do not know the test suite; the dummy translation service used actually transforms strings to uppercase.
affects: | zope2 → zope.tal |
To post a comment you must log in.
The zope.tal project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope. tal.