|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79524 should be using Accept-Language headers to determine user's language
Submitted: 2020-04-26 17:18 UTC Modified: 2020-04-26 17:18 UTC
From: Assigned: googleguy (profile)
Status: Closed Package: *Languages/Translation
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 33 = ?
Subscribe to this entry?

 [2020-04-26 17:18 UTC]
Currently visiting a link like will result in the last seen language being set to German, such that future manual visits will always use that language, unless the user sets a language preference cookie.

However, the default should be based on Accept-Language headers rather than last seen language as this makes more sense and is more ubiquitous among multilingual sites. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-26 17:18 UTC]
-Assigned To: +Assigned To: googleguy
 [2020-05-04 01:00 UTC]
Automatic comment on behalf of googleguy
Log: Fix Bug #79524
 [2020-05-04 01:00 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 21 20:03:35 2022 UTC