Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2392 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Enabling i18n.run_template_filter does not enable translation filter in Kid templates

Reported by: Chris Arndt Owned by: Chris Arndt
Priority: normal Milestone: 1.1.x bugfix
Component: I18n Version: 1.1
Severity: normal Keywords: i18n, kid, template engine


Currently, you need to set

kid.i18n.run_template_filter = True

in the configuration as well, to make things work. This should be set automatically, if i18n.run_template_filter is enabled, because that's how it is documented.

See also:

 TurboGears 1.1 + Kid + i18n (Mailing list thread)

Change History

comment:1 Changed 10 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r6872.

kid.i18n.run_template_filter now defaults to True if i18n.run_template_filter is enabled and Kid is available.

I.e. you can still turn off the translation filter for Kid templates only, if you set i18n.run_template_filter to True and kid.i18n.run_template_filter to False in your configuration.

Note: See TracTickets for help on using tickets.