Daniel Haus schrieb:
> After moving one of my applications to TurboGears 1.1 to make it run
> on Python 2.6 (somehow 1.0 didn't work)
Yes, Python .26 is only supported by TG 1.1.
> I have a problem with i18n now. The applications still uses kid, so
> I checked that the config has the at least following settings:
> Still, the static strings inside of my kid-templates won't be
> translated at all.
I just checked this. It seems that the new template engine option
loading introduced an unintended change, which breaks i18n for kid, if
you configure it according to the documentation.
> tg.defaultview = "kid"
> session_filter.on = True
> i18n.run_template_filter = True
> i18n.default_locale = "en"
For now, you need to add
kid.i18n.run_template_filter = True
to your configuration as well, and things should work again. We will fix
this in the next 1.1 release [1] so that the old way of configuring
things works again.
Chris
[1] http://trac.turbogears.org/ticket/2392
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---