Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The error about "Ignoring unsupported language code." with version 4.6.1 #12256
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
Fix them, the error will be gone!