Chinese language currently do not work in version 4.6.0 #12118
Steps to reproduce
Page should show in Chinese
Page showed in English
Operating system: Arch Linux
Web server: Nginx 1.9.12
Database: 10.1.12-MariaDB - MariaDB Server
PHP version: 7.0.4
phpMyAdmin version: 4.6.0
Browser: Google Chrome 49.0.2623.87 (64-bit)
Operating system: OS X Yosemite 10.10.5
I think this is not fully resolved:
I can dismiss the text, but then any action takes me to the login page -- presented in English.
Note that I don't get the error text with English (United Kingdom), but attempting any action results in me being logged out.
Trying a different method: from the login page, select Chinese Traditional from the dialog. The page seems to change correctly. Enter credentials and attempt to log in. I'm sent to the main phpMyAdmin page in English.
phpMyAdmin 4.6.1 and master
I think the problem is that the language codes
Login page, it has a problem to switch languages
about Language codes https://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1
Any two-letter subcode is understood to be a [ISO3166] country code.
zh_tw usage is wrong, correct it should be zh_TW
about ISO3166 https://en.wikipedia.org/wiki/ISO_3166-1