6.0.0-alpha14
7/3/25

[#12338] language selection at login ignored
Summary language selection at login ignored
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester julien.savoie (at) usainteanne (dot) ca
Created 06/11/2013 (4405 days ago)
Due
Updated 06/11/2013 (4405 days ago)
Assigned
Resolved 06/11/2013 (4405 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/11/2013 06:45:29 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Horde_Core 2.6.0.
06/11/2013 06:45:13 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 72634f95f506f98b2e252109e02b50c1d44fe443
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jun 11 12:38:28 2013 -0600

     [mms] Fix language selection at login (Bug #12338).

     Recent changes to the Session code ensure that setting a duplicate
     value for the language variable no longer causes a session write, so we
     don't need to be concerned about that out here.

  framework/Core/lib/Horde/Registry.php |    3 ++-
  framework/Core/package.xml            |    1 +
  2 files changed, 3 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/72634f95f506f98b2e252109e02b50c1d44fe443
06/11/2013 05:36:42 PM julien (dot) savoie (at) usainteanne (dot) ca Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ language selection at login ignored
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
After upgrading from 5.0.5 to 5.10, our language selection option on 
the login page became irrelevant.  Whichever you'd pick, you'd login 
with whatever the default_language your browser has been set.

     'defaults' => array(
         /* The language to fall back on if we cannot determine one any other
          * way (user choice or preferences). If empty, we will try to
          * negotiate with the browser using HTTP_ACCEPT_LANGUAGE. */
         'language' => '',

It's as if HTTP_ACCEPT_LANGUAGE is now overriding user choice.   
However setting it as a preference still works.

Saved Queries