php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75129 Site ignores language prefs; shows old English pages instead
Submitted: 2017-08-28 11:55 UTC Modified: 2020-03-15 04:22 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jocrutrisi at ibsats dot com Assigned: cmb (profile)
Status: No Feedback Package: Documentation problem
PHP Version: Irrelevant OS: All
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: jocrutrisi at ibsats dot com
New email:
PHP Version: OS:

 

 [2017-08-28 11:55 UTC] jocrutrisi at ibsats dot com
Description:
------------
This is a problem with the main site, but "documentation editor" is the best I could pick from the box.

Guys, the doc site is VERY annoying to use for those of us abroad, because:

1. Despite repeatedly setting "preferred language" to English, it's 50/50 if the page I'll open is English. I suspect Google is part to blame here, but PHP.net should also enforce our preferred language and redirect when we come to pages in the wrong languages. After all that's what "preferred language" is right?
2. Many of the translations are outdated, and that can't be avoided. But what CAN be avoided is the fact the translations would contain pages in ENGLISH, which however are massively outdated (and so I always keep reading outdated information in English, before I finally notice in I'm not in the English documentation).

Proposed solutions:

1. PHP.net should redirect from non-English doc pages to English doc pages automatically when a user has set their preferred language to English.
2. PHP.net should either A) show "page missing see English version" when a page is not translated -OR- B) automatically redirect to the current English page, instead of SHOWING AN OLD ENGLISH COPY to users.

I'm writing this not just in my name, but also in the name of many of my colleagues and friends abroad who have complained about the same issue. Please improve the code to spare our time and nerves. 

Thank you!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-30 19:11 UTC] peehaa@php.net
-Package: Online Doc Editor problem +Package: Documentation problem -PHP Version: 7.2.0beta3 +PHP Version: Irrelevant
 [2020-03-04 08:33 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-03-04 08:33 UTC] cmb@php.net
I assume that part 2 (outdated EN in translations) happened
because some of the mirrors have not been properly updated.
However, the mirroring has been retired a while ago, so this is no
longer supposed to be the case.

To my knowledge, the preferred language setting (via
php.net/my.php) works as expected (at least after the mirroring
has been retired): if a doc page is requested without explicitly
specifying a language, you get your preferred language.  However,
if there is an explicit language in the URL, you get that
translation.  E.g.

<https://www.php.net/manual/function.strpos.php>
vs.
<https://www.php.net/manual/de/function.strpos.php>

IMO, that makes sense.
 [2020-03-15 04:22 UTC] php-bugs at lists dot php dot 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-2020 The PHP Group
All rights reserved.
Last updated: Thu Jul 09 12:01:29 2020 UTC