The version about 4.6.1, pma will show this error: Ignoring unsupported language code.
There are two errors in the file libraries/LanguageManager.php, see as below:
In line 707 & 708:
It is quite obvious clerical error.
Start from line 780, the method about selectLanguage
$langs = $this->availableLanguages();
From this function return, will be languages mapping. In this mapping, the language name is the key and they are converted to the lower case, such as : zh_cn. But in the below process, when you get the language name from env vars, it is mixed case style, such as zh_CN actually.
So we will get $this->_lang_failed_cfg or $this->_lang_failed_cookie or $this->_lang_failed_request as the true finally, and it will show the error "Ignoring unsupported language code.".
Fix them, the error will be gone!
Hi and thanks for your research and report.
I believe this is a duplicate of #12118 which will be fixed for the 4.6.2 release, which is expected in just over a week.