php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79524 php.net 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: googleguy@php.net Assigned: googleguy (profile)
Status: Closed Package: *Languages/Translation
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: googleguy@php.net
New email:
PHP Version: OS:

 

 [2020-04-26 17:18 UTC] googleguy@php.net
Description:
------------
Currently visiting a link like http://php.net/de/strstr 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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-26 17:18 UTC] googleguy@php.net
-Assigned To: +Assigned To: googleguy
 [2020-05-04 01:00 UTC] googleguy@php.net
Automatic comment on behalf of googleguy
Revision: http://git.php.net/?p=web/php.git;a=commit;h=7691b44067db646287064df92ad6bd10718ba9a6
Log: Fix Bug #79524
 [2020-05-04 01:00 UTC] googleguy@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC