Am 24.03.2012 17:38, schrieb Tomer Brisker:
> I am working on a project that needs to bypass the user's setting and
> use the language defined in the instance's .ini. The logic for which
> language to use is more complex than the user's preference (the user
> will be routed to a different instance depending on their location).
> How can I bypass TG's default behavior?
You can set a language with tg.i18n.set_lang() using your own logic.
-- Christoph
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to
turbogears@....
To unsubscribe from this group, send email to
turbogears+unsubscribe@....
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.