php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76789 PHP.net site is in wrong language
Submitted: 2018-08-24 03:45 UTC Modified: 2018-11-18 22:33 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: jvanderlingen at mac dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: Next Major Version OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jvanderlingen at mac dot com
New email:
PHP Version: OS:

 

 [2018-08-24 03:45 UTC] jvanderlingen at mac dot com
Description:
------------
PHP.net web site consistently uses geolocation to determine the language of the side. No many how many millions of times I specify "English", every page refresh PHP comes up with one of the languages of the location my network service provider happens to be stationed. It doesn't even come up with the language of the region, just a random language spoken in other parts of the location's country.

If you don't know how to correctly code your way around geolocation, stop using it.

Test script:
---------------
n/a

Expected result:
----------------
The PHP.net website remembers my language by way of a cookie

Actual result:
--------------
The PHP.net comes up in a completely random language every time you go to a new page.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-24 05:14 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2018-08-24 05:14 UTC] requinix@php.net
I picked a language and browsed around randomly and it stayed on that language.

What's the value of your LAST_LANG cookie? Is it getting destroyed and recreated? Do you see your COUNTRY cookie changing values? What happens if you refresh the same page?
 [2018-11-18 22:33 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-11-18 22:33 UTC] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 01:01:30 2024 UTC