Bug #48726 [Com]: website search results ignores language preference
| From: | jacob@php.net | Date: | Tue, 30 Dec 2014 21:08:52 +0000 |
| Subject: | Bug #48726 [Com]: website search results ignores language preference | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-20448@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48726&edit=1
ID: 48726
Comment by: jacob@php.net
Reported by: arlo at arlomedia dot com
Summary: website search results ignores language preference
Status: Verified
Type: Bug
Package: Website problem
Operating System: Mac OS 10.5
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Can confirm this is still an issue (tested with 'de' and 'en').
(Additonal) Steps to reproduce:
- Navigate to http://php.net/results.php?q=strpos&p=manual&l=en
- Results for 'en' strpos documentation and 'de' strpos documentation will be
shown.
- Navigate to http://php.net/results.php?q=strpos&p=manual&l=de
- Results for 'de' strpos documentation and 'en' strpos documentation will be
shown.
Previous Comments:
------------------------------------------------------------------------
[2014-08-14 05:24:07] levim@php.net
Ironically, this was fixed long ago but the bug has reoccurred now that we are using Google.
------------------------------------------------------------------------
[2009-09-17 02:31:09] FDSFS at DFDSF dot COM
HHVVBVGFGFGVDFS
------------------------------------------------------------------------
[2009-06-30 17:18:15] arlo at arlomedia dot com
I only suggested a "dirty quickfix" because I was told the functionality
of the Yahoo engine was beyond your control. If in fact it supports
language filtering, then yes, it would be good to fix that.
I just noticed that when I perform a search of the online documentation,
my language code of "en" appears as an argument in the search result
URL...
http://us2.php.net/results.php?q=test&p=manual&l=en
...and this has no effect on the search results. However, if I change
the language code in the URL to es, hu, ru ... then the search results
are correctly filtered by that language. Apparently it is only the
default language of en that is being ignored.
------------------------------------------------------------------------
[2009-06-30 09:44:35] rquadling@php.net
Hannes, is it possible to log the actual requests to make sure the
language _IS_ being supplied correctly?
------------------------------------------------------------------------
[2009-06-30 07:48:55] bjori@php.net
What I don't understand is why the language detection isn't working, we are explicitly
asking for the language you provide (falling back to english if none).
I'd rather try to fix the language detection then to muck around with dirty quickfixes by
limiting the search range based on path structure.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=48726
--
Edit this bug report at https://bugs.php.net/bug.php?id=48726&edit=1