|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66864 JS-based language selection prevents language selection
Submitted: 2014-03-09 16:57 UTC Modified: 2014-03-10 01:14 UTC
From: phpmpan at mpan dot pl Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-03-09 16:57 UTC] phpmpan at mpan dot pl
If users use a direct link to enter one of pseudotranslated versions of documentation, the JS-based language selection is set to "English" and prevents them from switching to english. It is required first to switch to some other language and only then it is possible to set english.

Tested on: Fx-27.0.1 on Arch64, but it doesn't seems to be related to browser or platform.

Note: actually after disabling JS it is not possible to change language at all. But I think a separate bug report should be filled for that after this one is resolved.

Test script:
1. Enter some pseudotranslated documentation page. Example: <>
2. Try to switch to english.

Expected result:
Ability to switch to english without a need to switch to some other language first.

Actual result:
One needs to switch to other language before it is possible to switch to english.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-10 01:14 UTC]
-Status: Open +Status: Not a bug
 [2014-03-10 01:14 UTC]
Thats because that translation is no longer marked as active, so we don't want you to be browsing it (e.g. maybe the docs recommend by-now known to be unsecure way of doing things or otherwise buggy).

There should be no links from to those translations, but there may be some around the web. These pages are only meant for archival and historic reference.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jun 09 02:03:37 2023 UTC