php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68613 Preferred language is ignored
Submitted: 2014-12-16 02:38 UTC Modified: 2015-04-20 10:51 UTC
From: gabriele at tozzi dot eu Assigned: cmb (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Firefox 34 on Ubuntu Linux 14.10
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gabriele at tozzi dot eu
New email:
PHP Version: OS:

 

 [2014-12-16 02:38 UTC] gabriele at tozzi dot eu
Description:
------------
Hello,

I am used to use PHP.net as my main source for browsing PHP documentation.

Even if my browser is set to accept Italian language first, I prefer to browse PHP.net in English, since the Italian translation is inaccurate and incomplete.

In http://php.net/my.php I have set my preferences:
Your preferred language: English
Last seen language 	it
Your Accept-Language browser setting 	it-it,it;q=0.8,en;q=0.5,en-us;q=0.3
The mirror's default language 	en
Default 	en

Cookies are enabled and preferences are stored correctly (if I close and re-open the preference page).

If you need additional information, I will happily provide it.

Thank you for your time.

Expected result:
----------------
when I open any manual language, I would expect to have ti displayed in English by default, according to my preferences

Actual result:
--------------
when I open any manual page, by example http://php.net/manual/en/language.oop5.php, it is displayed in Italian by default. I have to manyally switch to English every time.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-03 13:06 UTC] jacob@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: jacob
 [2015-01-31 17:26 UTC] gabriele at tozzi dot eu
This bug is now worsened: the select field in the webpage now correctly displays English as selected language, but the page is still displayed in Italian.

As I result, I can't switch to English (because php.net thinks English is already selected): I have to switch to any other language first and then finally to English.
 [2015-03-14 07:25 UTC] jacob@php.net
-Assigned To: jacob +Assigned To:
 [2015-04-02 21:02 UTC] cmb@php.net
-Status: Verified +Status: Feedback -Assigned To: +Assigned To: cmb
 [2015-04-02 21:02 UTC] cmb@php.net
> This bug is now worsened: the select field in the webpage now
> correctly displays English as selected language, but the page is
> still displayed in Italian.

This problem has been fixed; it might take a while to propagate to
all mirrors, though.

> When I open any manual page, by example
> http://php.net/manual/en/language.oop5.php, it is displayed in
> Italian by default.

Hmm, when the language is explicitly given in the URL (/en/ in this
case), that should override any default settings. Did you really
navigate to this URL, or to http://php.net/manual/language.oop5.php
instead?
 [2015-04-12 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.
 [2015-04-20 01:25 UTC] gabriele at tozzi dot eu
I no longer experience this bug: looks like it has been resolved.

Thank you!
 [2015-04-20 10:51 UTC] cmb@php.net
-Status: No Feedback +Status: Closed
 [2015-04-20 10:51 UTC] cmb@php.net
Thanks for the feedback, Gabriele.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 10:01:28 2024 UTC