php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66384 Language Stuck in French
Submitted: 2014-01-01 22:56 UTC Modified: 2014-01-02 18:13 UTC
From: Aidan_ at hotmail dot com Assigned: levim (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Mac OSX 10.8.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Aidan_ at hotmail dot com
New email:
PHP Version: OS:

 

 [2014-01-01 22:56 UTC] Aidan_ at hotmail dot com
Description:
------------
Using Mac OSX - Version 10.8.5
Using Google Chrome - Version 31.0.1650.63 + Other Major Browsers

I used to use php.net a lot for function reference:
I would search the function name on google and the first result would link me to a working, English, php.net page.

This is a deal-breaker for me. I am now finding myself clicking on the w3schools.com result in Google instead of php.net even though it has worse documentation... just because it's in the right language.

Test script:
---------------
This is a specific EXAMPLE - but it applies to ALL Google searches for php.net functions.

GOOGLE SEARCH: fgetcsv
FIRST RESULT: http://www.php.net/fgetcsv
CLIKED FIRST RESULT: php.net fgetcsv page is in French with a broken language select drop-down.

Expected result:
----------------
I would expect the page to be displayed in English by default when all other page/browser/Operating System language settings are English.
At the very least, I would expect it to redirect me to here, the language appropriate page, when I search in google:
http://www.php.net/manual/en/function.fgetcsv.php

Actual result:
--------------
PROBLEM: Page is displayed in French and your language select dropdown is unresponsive (Doesn't even drop down when clicked). Therefore, there is no simple way to use your page to navigate back to English.

You're losing a ton of Google clicks to w3schools.com, from not just me... from everybody.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-01 23:02 UTC] bjori@php.net
-Assigned To: +Assigned To: levim
 [2014-01-01 23:02 UTC] bjori@php.net
The drop down is indeed broken.. But that only happened couple of hours ago.


As for your French problem, at some point in time you viewed a French doc page. Since them we remember that you liked french, so we continue to serve you french.
We will continue to serve you french until you view a page in English - and which point we will remember that and continue to serve you pages in English until you change the language.


If you have never been to PHP.net before, we'll extract the language accept headers from your browser.
Or, we'll see which url you are accessing (/en/ vs /fr/ vs /ja).
 [2014-01-02 00:23 UTC] levim@php.net
The dropdown is now selectable; I apparently broke this earlier today. That issue should be fixed when the mirrors do their next update.

As for defaulting to French; I have no idea and it's been like this for a while :/ To my knowledge I haven't changed this at all.
 [2014-01-02 18:13 UTC] bjori@php.net
-Status: Assigned +Status: Closed
 [2014-01-02 18:13 UTC] bjori@php.net
You can only get French by specifically picking it (accidentally, by clicking a url with /fr/ in the path, or implicitly by your browser etc).

Only other way would, from what I've explained earlier, is if the mirror sets a default language. That would only work if you had never come to php.net before and your browser accept language scoring is very low.
Thats very rare, but possible.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 04:00:01 2025 UTC