#2255: Language support in session lacking
------------------------+---------------------------------------------------
Reporter: aigarius | Owner: jon
Type: defect | Status: assigned
Priority: normal | Milestone: 2.0rc1
Component: TurboGears | Version: 2.0b7
Severity: normal | Resolution:
Keywords: i18n |
------------------------+---------------------------------------------------
Changes (by jon):
* owner: => jon
* status: new => assigned
* version: 2.0b6 => 2.0b7
Comment:
This problem is due to the fact setup_i18n (run in _perfom_call phase) is
overriding the lang you've set (this function is checking to see what is
the best language for the UA).
We need to add that session support for i18n in the core, in that function
(if a lang is found in session, set it and don't override it)...
About the session key name, I think it should be configurable (and not
just 'lang' or 'tg_lang').
I'll try to see how to implement that today.
--
Ticket URL: <http://trac.turbogears.org/ticket/2255#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---