The locale in the user profile is not taken into account
davidjava - December 29, 2006 - 16:48
| Project: | Localizer |
| Version: | 4.7.x-2.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Roberto Gerola |
| Status: | closed |
Jump to:
Description
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.

#1
Hi.
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.
#2
This feature has been implemented.
Tomorrow I'll update the CVS and make an official release.
#3
Available in 2.4 release
#4
#5