Edit report at https://bugs.php.net/bug.php?id=68880&edit=1
ID: 68880 Updated by: [email protected] Reported by: spydmobile at gmail dot com Summary: searchbar switches languages -Status: Not a bug +Status: Re-Opened Type: Bug Package: Website problem PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: Well, after actually reading the description on "My php.net" and doing some more tests, it appears that the LAST_LANG cookie is not set, when following a link. That might be considered a bug -- re-opening. Previous Comments: ------------------------------------------------------------------------ [2015-04-15 21:40:36] [email protected] Ah, thanks! Indeed, I can confirm the behavior after having unset my preferred language. However, I think that's more of a feature. When searching, the result is displayed in the language determined by the Accept-Language header sent by the client (unless overridden by the "My php.net" settings, and if the language is available). If you prefer to browse php.net with another language as set in your browser's preferences, use "My php.net" to configure it. ------------------------------------------------------------------------ [2015-04-15 15:56:29] spydmobile at gmail dot com [email protected]: No it is set to "Not Set" ------------------------------------------------------------------------ [2015-04-15 14:14:09] [email protected] Do you have set French as preferred language in <http://php.net/my.php>? ------------------------------------------------------------------------ [2015-01-21 23:17:40] spydmobile at gmail dot com Description: ------------ using the online manual site in English, the search bar changes language to french. Test script: --------------- example steps to reproduce: sitting on this page: http://php.net/manual/en/language.oop5.cloning.php click in the search box and type file_get_contents hit enter you will now find yourself on this page: http://php.net/manual/fr/function.file-get-contents.php You are now reading french, this happens all the time, and is incredibly frustrating when developing and having to manually edit the URL. IMHO this is a bug, the first page you should land at in a search should be the same language you are reading the site in in the first place. kalle at php dot net asked me to indicate which mirror I am using, and I really dont know, the URLs I am using are above. Further, I tried to open this as a new ticket originally but the system stopped me and said that one already existed and suggested that I use it, so I did and I afterwards was asked politely to open a new one instead of reviving a 13 year old closed one - which I have done, but I humbly suggest that the bug reporting process *NOT* offer 13 year old closed tickets to block a new one, because this is effectively the 3rd time I put all this in here because of process - just saying, many folks would have given up reporting the error long ago. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68880&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
