Hi, all.

I want to change render for language switch without logout/restart
webpy[1] app, but it works only in Safari, not work in IE and Firefox
3.

I use webpy-0.32 + jinja2-2.2.1, with jinja2 i18n extension support
(Follow cookbook: http://webpy.org/cookbook/template_jinja).
When user want to switch to another language, app will change render
with below steps:

- Remove old translation: render._lookup.uninstall_gettext_translation
(OLD_LANGUAGE_TRANSLATION)
- Install new translation: render._lookup.install_gettext_translation
(NEW_LANGUAGE_TRANSLATION)

But it work only in Safari4, not in IE and firefox 3. How can i solve
this issue?

[1] webpy framework: http://webpy.org/

--
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to pocoo-libs@googlegroups.com
To unsubscribe from this group, send email to 
pocoo-libs+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to