Am 05.04.2011 11:47, schrieb mejlholm:
> Well, the first clue is _() not working in Genshi templates.
Has this been working in TG 1.0 or 1.1?
> Furthermore I have this little language change icon on my web
> application, which calls the following url and reloads the page:
>
> @expose('json')
> def change_language(self, language):
> i18n.set_session_locale(language)
> redirect(request.headers.get("Referer", "/"))
>
> In 1.5b2 this however has no effect either (and it worked fine all the
> way through the 1.0.X and 1.X versions).
Ok, I'll have a look. What I find a bit suspicious is the
@expose('json'). Does it work with a bare @expose()?
-- Christoph
--
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.