From:             phpmpan at mpan dot pl
Operating system: 
PHP version:      Irrelevant
Package:          Website problem
Bug Type:         Bug
Bug description:JS-based language selection prevents language selection

Description:
------------
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:
<http://php.net/manual/pl/class.datetime.php>
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.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=66864&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=66864&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=66864&r=trysnapshot55
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=66864&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66864&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66864&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66864&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66864&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66864&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66864&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66864&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=66864&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=66864&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66864&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66864&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66864&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66864&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66864&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66864&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66864&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66864&r=mysqlcfg


-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to