Ticket #4895 (closed Bug: wontfix)

Opened 10 years ago

Last modified 8 years ago

dtml-translate does not work as expected

Reported by: Anonymous User Owned by: hannosch
Priority: minor Milestone: 3.0b2
Component: Internationalization Version:
Keywords: Cc:

Description (last modified by hannosch) (diff)

Since I upgraded from Plone 2.1 to 2.1.1, elements between <dtml-translate> tags are no longer being translated. All the other translation stuff still works as expected.

Change History

comment:1 Changed 10 years ago by flaurijssens

Hmmm. I just noticed I wasn't logged in when I submitted this issue.

comment:2 Changed 10 years ago by hannosch

Could you provide some more information, for example a small script that does not get translated? While we are not really supporting i18n for dtml, it shouldn't break in a minor release ;) Please also try to download PlacelessTranslationService 1.2.4 ( http://plone.org/products/pts/releases/1.2.4) and see if it fixes your problem or make it worse.

comment:3 Changed 10 years ago by flaurijssens

A small script - hmmm. How about ZWiki? Not really small, but that's how I noticed it didn't work anymore.

comment:4 Changed 10 years ago by flaurijssens

BTW, upgrading PTS to 1.2.4 did not work. What else changed between 2.1 and 2.1.1 ?

comment:5 Changed 10 years ago by thanhhai

Upgrade to PTS 1.2.5 did not work either. After upgrading to Plone 2.1.1, all my mail templates are not translated at all.

comment:6 Changed 10 years ago by thanhhai

  • Priority changed from minor to major
  • Milestone changed from Undecided to 2.1.x

Maybe the old version of PTS works?

I am using:

PTS 1.2.5 Plone 2.1.1 Zope 2.8.3-final, python 2.3.5

comment:7 Changed 10 years ago by hannosch

  • Description modified (diff)
  • Milestone changed from 2.1.x to 2.1.3

comment:8 Changed 9 years ago by yannick.dirou@…

Same for me 1.2.5 -> broken for dtml email templates 1.2.1 -> it works great

comment:9 Changed 9 years ago by hannosch

  • Owner changed from to hannosch

I wrote a test for it. Now have to find the problem. Probably something with the added wrapper and context.

comment:10 Changed 9 years ago by hannosch

  • Priority changed from major to minor
  • Milestone changed from 2.5.x to 2.1.x

comment:11 Changed 9 years ago by hannosch

  • Milestone changed from 2.1.x to 2.5.x

Milestone 2.1.x deleted

comment:12 Changed 8 years ago by hannosch

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone changed from 2.5.x to 3.0

Support for translating dtml has been removed from the latest PTS version, as it has become almost impossible to support this while moving the TAL-based translation to use the Zope3 translation service.

Note: See TracTickets for help on using tickets.