php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74440 Online documentation default language
Submitted: 2017-04-14 13:06 UTC Modified: 2017-08-22 16:46 UTC
Votes:7
Avg. Score:4.9 ± 0.3
Reproduced:7 of 7 (100.0%)
Same Version:2 (28.6%)
Same OS:2 (28.6%)
From: vadim dot bel1981 at gmail dot com Assigned:
Status: Open Package: Website problem
PHP Version: 5.6.30 OS:
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: vadim dot bel1981 at gmail dot com
New email:
PHP Version: OS:

 

 [2017-04-14 13:06 UTC] vadim dot bel1981 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ceil
---

Hello guys,

Google always give me a link to German docs, while i would like to read english, could you please make a redirection to http://php.net/manual/en/function.ceil.php from http://php.net/manual/de/function.ceil.php if users Accept-Language setting do not have  "de" language in value. Or at least remember the language user select before. For example my location is Germany. Google navigates me to http://php.net/manual/de/function.ceil.php i changed my language to English. Next time i come to http://php.net/manual/de/function.ceil.php, i would like to get English version, until when i'm not select another language in the dropdown list.

Thanks.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-22 16:46 UTC] cmb@php.net
-Package: Documentation problem +Package: Website problem
 [2018-05-01 06:51 UTC] myalbino at gmail dot com
I would like to add this information:

I am located in France and I am an English speaker so I search google.com in English most of the time. My google.com language preferences are set to show search results in English.

Searching for "php function return type declaration" will return results that include an entry from php.net at the very top. The listing title will be in French but the listing summary will be in English.

When I click through to the result link, I end up in the French version of the page on php.net and even though I search in English and my search terms are not contained in the page I am presented with.

My language settings on "My PHP.net" are also set to English.

Searching for "php fonction valeurs de retour" will return a result from php.net with a title in French and a summary in French. Correctly, there is no result from php.net in English. Correctly, my search terms in French are contained in this page.

What I think should happen:
Searching for English terms should return links to the pages where those were found
Searching for French terms should return links to the pages where those were found
Searching for anything should return links to the pages where anything was found

It looks like the language link is somehow set artificially even though the English and French pages are correctly indexed separately.
 [2018-07-10 15:41 UTC] vilhar at hotmail dot com
This bug is irritating. Please fix this. 

But maybe this a google problem.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 21 15:01:27 2019 UTC