Closed (fixed)
Project:
Localizer
Version:
4.7.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Dec 2006 at 16:48 UTC
Updated:
12 Jan 2007 at 08:15 UTC
Hello, this issue could be both treated as bug report or new feature request. I am using the option "browser detection" in order to show the right home page for anonymous users. I think it is the best option here.
But when the user completes the login, the locale in the user profile should take precedence and automaticaly perform the switch to the recorded locale. IMHO, that is the reason to record a locale for every user.
Thanks a lot. Best regards.
Comments
Comment #1
Roberto Gerola commentedHi.
Yes, actually the order to get the locale is :
1. from the session
2. from the user profile
3. from the browser language
4. from the first language activated
But this method is called only the first time the user access the site.
I understand what you mean :
1. I access the site as anonymous
2. I complete the registration and set my language
3. The locale must change accordingly with my preferences
I verify if a hook is available to implement this option.
Comment #2
Roberto Gerola commentedThis feature has been implemented.
Tomorrow I'll update the CVS and make an official release.
Comment #3
Roberto Gerola commentedAvailable in 2.4 release
Comment #4
Roberto Gerola commentedComment #5
Roberto Gerola commented