Bug #75129 [Fbk->NoF]: Site ignores language prefs; shows old English pages instead

From: Date: Sun, 15 Mar 2020 04:22:10 +0000
Subject: Bug #75129 [Fbk->NoF]: Site ignores language prefs; shows old English pages instead
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17425@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75129&edit=1 ID: 75129 Updated by: php-bugs@lists.php.net Reported by: jocrutrisi at ibsats dot com Summary: Site ignores language prefs; shows old English pages instead -Status: Feedback +Status: No Feedback Type: Bug Package: Documentation problem Operating System: All PHP Version: Irrelevant Assigned To: cmb Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2020-03-04 08:33:19] 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. ------------------------------------------------------------------------ [2017-08-28 11:55:40] 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! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75129&edit=1

« previous php.doc.bugs (#17425) next »