Bug #73918 [Com]: selected language ignored
| From: | wellnessh665 at gmail dot com | Date: | Mon, 10 Apr 2023 12:14:36 +0000 |
| Subject: | Bug #73918 [Com]: selected language ignored | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-30820@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73918&edit=1
ID: 73918
Comment by: wellnessh665 at gmail dot com
Reported by: meghesanovidiu at yahoo dot com
Summary: selected language ignored
Status: Re-Opened
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Weight Loss Tips Info are sharing latest news about weight loss, health, diet, fitness, treatment,
asthma, surgery, therphy etc. More info to visit:Â (https://weightlosstipsinfo.com)github.com
Previous Comments:
------------------------------------------------------------------------
[2017-01-30 12:13:03] cmb@php.net
The PHP manual has hreflang links, so search engines should cater
to that. It may be, however, that there's something wrong with
the hreflang links. I don't have time to investigate on this,
though.
------------------------------------------------------------------------
[2017-01-18 08:26:42] meghesanovidiu at yahoo dot com
yeah, but since i can't control what urls google returns to my search (i already tried setting
the language of the results, with no visible effects), i expect the php site to respect my choice.
------------------------------------------------------------------------
[2017-01-12 13:06:49] cmb@php.net
If the language is explicitly specified in the URL, it overrides
the selected language. Compare the behavior of the following URLs
with regard to the selected language:
<http://php.net/manual/function.strpos.php>
<http://php.net/manual/en/function.strpos.php>
<http://php.net/manual/ro/function.strpos.php>
Only the first URL will respect the selected language; the others
will choose the language given in the URL.
------------------------------------------------------------------------
[2017-01-12 11:18:09] meghesanovidiu at yahoo dot com
Description:
------------
i search for a php function on google, which lands me on the function page in the php doc. it
automatically selects the language (romanian for me). i choose english.
the next time i repeat the procedure (from the search), i land again on the php site on the romanian
version so i have to change the language again. the site should keep my language option in a cookie
and respect it. it's annoying to change it every time i come to the site...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73918&edit=1