6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9822] Use the correct language on pages without autentication required
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__.. ..__. . [__ | ||\/|| | | [___|__|| ||__\\__|
Comment
>> I changed the default nls language to 'pt_PT', and the login and >> registry page are still in English which doesn't seem to be the >> correct behavior, because i've defined the languages everywhere i >> could imagine, and still my newcomers will have its pages in English >> until they log in. > > The language is determined in Horde_Registry::preferredLang() so you > might want to look there. We select languages in this order: > > 1. Preference (but this is NOT intended to be used > pre-authentication; in fact, there should probably be a getAuth() > check there) > 2. Language selected on login screen. > 3. Language in session (a guest user can set a language in a session) > 4. Browser's list of accepted languages > 5. NLS curr_default > 6. Fallback to en_US if all else fails > > I tend to think that your users' browser is reporting that it wants > English as its first option.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers