Show native names of languages (RFE #1342726).

This commit is contained in:
Michal Čihař
2005-11-23 11:58:01 +00:00
parent 23167de8bf
commit 75943a0ede
3 changed files with 133 additions and 118 deletions

View File

@@ -16,6 +16,8 @@ $Source$
* main.php, libraries/display_select_lang.lib.php,
libraries/auth/cookie.auth.lib.php: Common code for language selection
form.
* libraries/display_select_lang.lib.php, libraries/select_lang.lib.php:
Show native names of languages (RFE #1342726).
2005-11-20 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* added test/theme.php: for testing themes

View File

@@ -49,13 +49,26 @@ function PMA_select_language() {
uasort($GLOBALS['available_languages'], 'PMA_language_cmp');
foreach ($GLOBALS['available_languages'] AS $id => $tmplang) {
$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1));
// Include native name if non empty
if (!empty($tmplang[3])) {
$lang_name = htmlentities($tmplang[3], ENT_COMPAT, 'UTF-8') . ' - ' . $lang_name;
}
// Include charset if it makes sense
if (!defined('PMA_REMOVED_NON_UTF_8')) {
$lang_name .= ' (' . substr($id, strpos($id, '-') + 1) . ')';
}
//Is current one active?
if ($lang == $id) {
$selected = ' selected="selected"';
} else {
$selected = '';
}
echo ' ';
echo '<option value="' . $id . '"' . $selected . '>' . $lang_name . ' (' . $id . ')</option>' . "\n";
echo '<option value="' . $id . '"' . $selected . '>' . $lang_name . '</option>' . "\n";
}
?>
</select>

View File

@@ -47,124 +47,124 @@ $lang_path = './lang/';
* and users would not see anything.
*/
$available_languages = array(
'af-iso-8859-1' => array('af|afrikaans', 'afrikaans-iso-8859-1', 'af'),
'af-utf-8' => array('af|afrikaans', 'afrikaans-utf-8', 'af'),
'ar-win1256' => array('ar|arabic', 'arabic-windows-1256', 'ar'),
'ar-utf-8' => array('ar|arabic', 'arabic-utf-8', 'ar'),
'az-iso-8859-9' => array('az|azerbaijani', 'azerbaijani-iso-8859-9', 'az'),
'az-utf-8' => array('az|azerbaijani', 'azerbaijani-utf-8', 'az'),
'af-iso-8859-1' => array('af|afrikaans', 'afrikaans-iso-8859-1', 'af', ''),
'af-utf-8' => array('af|afrikaans', 'afrikaans-utf-8', 'af', ''),
'ar-win1256' => array('ar|arabic', 'arabic-windows-1256', 'ar', 'العربية'),
'ar-utf-8' => array('ar|arabic', 'arabic-utf-8', 'ar', 'العربية'),
'az-iso-8859-9' => array('az|azerbaijani', 'azerbaijani-iso-8859-9', 'az', 'Azərbaycanca'),
'az-utf-8' => array('az|azerbaijani', 'azerbaijani-utf-8', 'az', 'Azərbaycanca'),
'becyr-win1251' => array('be|belarusian', 'belarusian_cyrillic-windows-1251', 'be'),
'becyr-utf-8' => array('be|belarusian', 'belarusian_cyrillic-utf-8', 'be'),
'belat-utf-8' => array('be[-_]lat|belarusian latin', 'belarusian_latin-utf-8', 'be-lat'),
'bg-win1251' => array('bg|bulgarian', 'bulgarian-windows-1251', 'bg'),
'bg-koi8-r' => array('bg|bulgarian', 'bulgarian-koi8-r', 'bg'),
'bg-utf-8' => array('bg|bulgarian', 'bulgarian-utf-8', 'bg'),
'bs-win1250' => array('bs|bosnian', 'bosnian-windows-1250', 'bs'),
'bs-utf-8' => array('bs|bosnian', 'bosnian-utf-8', 'bs'),
'ca-iso-8859-1' => array('ca|catalan', 'catalan-iso-8859-1', 'ca'),
'ca-utf-8' => array('ca|catalan', 'catalan-utf-8', 'ca'),
'cs-iso-8859-2' => array('cs|czech', 'czech-iso-8859-2', 'cs'),
'cs-win1250' => array('cs|czech', 'czech-windows-1250', 'cs'),
'cs-utf-8' => array('cs|czech', 'czech-utf-8', 'cs'),
'da-iso-8859-1' => array('da|danish', 'danish-iso-8859-1', 'da'),
'da-utf-8' => array('da|danish', 'danish-utf-8', 'da'),
'de-iso-8859-1' => array('de|german', 'german-iso-8859-1', 'de'),
'de-iso-8859-15' => array('de|german', 'german-iso-8859-15', 'de'),
'de-utf-8' => array('de|german', 'german-utf-8', 'de'),
'el-iso-8859-7' => array('el|greek', 'greek-iso-8859-7', 'el'),
'el-utf-8' => array('el|greek', 'greek-utf-8', 'el'),
'en-iso-8859-1' => array('en|english', 'english-iso-8859-1', 'en'),
'en-iso-8859-15' => array('en|english', 'english-iso-8859-15', 'en'),
'en-utf-8' => array('en|english', 'english-utf-8', 'en'),
'es-iso-8859-1' => array('es|spanish', 'spanish-iso-8859-1', 'es'),
'es-iso-8859-15' => array('es|spanish', 'spanish-iso-8859-15', 'es'),
'es-utf-8' => array('es|spanish', 'spanish-utf-8', 'es'),
'et-iso-8859-1' => array('et|estonian', 'estonian-iso-8859-1', 'et'),
'et-utf-8' => array('et|estonian', 'estonian-utf-8', 'et'),
'eu-iso-8859-1' => array('eu|basque', 'basque-iso-8859-1', 'eu'),
'eu-utf-8' => array('eu|basque', 'basque-utf-8', 'eu'),
'fa-win1256' => array('fa|persian', 'persian-windows-1256', 'fa'),
'fa-utf-8' => array('fa|persian', 'persian-utf-8', 'fa'),
'fi-iso-8859-1' => array('fi|finnish', 'finnish-iso-8859-1', 'fi'),
'fi-iso-8859-15' => array('fi|finnish', 'finnish-iso-8859-15', 'fi'),
'fi-utf-8' => array('fi|finnish', 'finnish-utf-8', 'fi'),
'fr-iso-8859-1' => array('fr|french', 'french-iso-8859-1', 'fr'),
'fr-iso-8859-15' => array('fr|french', 'french-iso-8859-15', 'fr'),
'fr-utf-8' => array('fr|french', 'french-utf-8', 'fr'),
'gl-iso-8859-1' => array('gl|galician', 'galician-iso-8859-1', 'gl'),
'gl-utf-8' => array('gl|galician', 'galician-utf-8', 'gl'),
'he-iso-8859-8-i' => array('he|hebrew', 'hebrew-iso-8859-8-i', 'he'),
'he-utf-8' => array('he|hebrew', 'hebrew-utf-8', 'he'),
'hi-utf-8' => array('hi|hindi', 'hindi-utf-8', 'hi'),
'hr-win1250' => array('hr|croatian', 'croatian-windows-1250', 'hr'),
'hr-iso-8859-2' => array('hr|croatian', 'croatian-iso-8859-2', 'hr'),
'hr-utf-8' => array('hr|croatian', 'croatian-utf-8', 'hr'),
'hu-iso-8859-2' => array('hu|hungarian', 'hungarian-iso-8859-2', 'hu'),
'hu-utf-8' => array('hu|hungarian', 'hungarian-utf-8', 'hu'),
'id-iso-8859-1' => array('id|indonesian', 'indonesian-iso-8859-1', 'id'),
'id-utf-8' => array('id|indonesian', 'indonesian-utf-8', 'id'),
'it-iso-8859-1' => array('it|italian', 'italian-iso-8859-1', 'it'),
'it-iso-8859-15' => array('it|italian', 'italian-iso-8859-15', 'it'),
'it-utf-8' => array('it|italian', 'italian-utf-8', 'it'),
'ja-euc' => array('ja|japanese', 'japanese-euc', 'ja'),
'ja-sjis' => array('ja|japanese', 'japanese-sjis', 'ja'),
'ja-utf-8' => array('ja|japanese', 'japanese-utf-8', 'ja'),
'ko-euc-kr' => array('ko|korean', 'korean-euc-kr', 'ko'),
'ko-utf-8' => array('ko|korean', 'korean-utf-8', 'ko'),
'ka-utf-8' => array('ka|georgian', 'georgian-utf-8', 'ka'),
'lt-win1257' => array('lt|lithuanian', 'lithuanian-windows-1257', 'lt'),
'lt-utf-8' => array('lt|lithuanian', 'lithuanian-utf-8', 'lt'),
'lv-win1257' => array('lv|latvian', 'latvian-windows-1257', 'lv'),
'lv-utf-8' => array('lv|latvian', 'latvian-utf-8', 'lv'),
'mn-utf-8' => array('mn|mongolian', 'mongolian-utf-8', 'mn'),
'ms-iso-8859-1' => array('ms|malay', 'malay-iso-8859-1', 'ms'),
'ms-utf-8' => array('ms|malay', 'malay-utf-8', 'ms'),
'nl-iso-8859-1' => array('nl|dutch', 'dutch-iso-8859-1', 'nl'),
'nl-iso-8859-15' => array('nl|dutch', 'dutch-iso-8859-15', 'nl'),
'nl-utf-8' => array('nl|dutch', 'dutch-utf-8', 'nl'),
'no-iso-8859-1' => array('no|norwegian', 'norwegian-iso-8859-1', 'no'),
'no-utf-8' => array('no|norwegian', 'norwegian-utf-8', 'no'),
'pl-iso-8859-2' => array('pl|polish', 'polish-iso-8859-2', 'pl'),
'pl-win1250' => array('pl|polish', 'polish-windows-1250', 'pl'),
'pl-utf-8' => array('pl|polish', 'polish-utf-8', 'pl'),
'ptbr-iso-8859-1' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-iso-8859-1', 'pt-BR'),
'ptbr-utf-8' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-utf-8', 'pt-BR'),
'pt-iso-8859-1' => array('pt|portuguese', 'portuguese-iso-8859-1', 'pt'),
'pt-iso-8859-15' => array('pt|portuguese', 'portuguese-iso-8859-15', 'pt'),
'pt-utf-8' => array('pt|portuguese', 'portuguese-utf-8', 'pt'),
'ro-iso-8859-1' => array('ro|romanian', 'romanian-iso-8859-1', 'ro'),
'ro-utf-8' => array('ro|romanian', 'romanian-utf-8', 'ro'),
'ru-win1251' => array('ru|russian', 'russian-windows-1251', 'ru'),
'ru-cp-866' => array('ru|russian', 'russian-cp-866', 'ru'),
'ru-koi8-r' => array('ru|russian', 'russian-koi8-r', 'ru'),
'ru-utf-8' => array('ru|russian', 'russian-utf-8', 'ru'),
'sk-iso-8859-2' => array('sk|slovak', 'slovak-iso-8859-2', 'sk'),
'sk-win1250' => array('sk|slovak', 'slovak-windows-1250', 'sk'),
'sk-utf-8' => array('sk|slovak', 'slovak-utf-8', 'sk'),
'sl-iso-8859-2' => array('sl|slovenian', 'slovenian-iso-8859-2', 'sl'),
'sl-win1250' => array('sl|slovenian', 'slovenian-windows-1250', 'sl'),
'sl-utf-8' => array('sl|slovenian', 'slovenian-utf-8', 'sl'),
'sq-iso-8859-1' => array('sq|albanian', 'albanian-iso-8859-1', 'sq'),
'sq-utf-8' => array('sq|albanian', 'albanian-utf-8', 'sq'),
'srlat-win1250' => array('sr[-_]lat|serbian latin', 'serbian_latin-windows-1250', 'sr-lat'),
'srlat-utf-8' => array('sr[-_]lat|serbian latin', 'serbian_latin-utf-8', 'sr-lat'),
'srcyr-win1251' => array('sr|serbian', 'serbian_cyrillic-windows-1251', 'sr'),
'srcyr-utf-8' => array('sr|serbian', 'serbian_cyrillic-utf-8', 'sr'),
'sv-iso-8859-1' => array('sv|swedish', 'swedish-iso-8859-1', 'sv'),
'sv-utf-8' => array('sv|swedish', 'swedish-utf-8', 'sv'),
'th-tis-620' => array('th|thai', 'thai-tis-620', 'th'),
'th-utf-8' => array('th|thai', 'thai-utf-8', 'th'),
'tr-iso-8859-9' => array('tr|turkish', 'turkish-iso-8859-9', 'tr'),
'tr-utf-8' => array('tr|turkish', 'turkish-utf-8', 'tr'),
'tt-iso-8859-9' => array('tt|tatarish', 'tatarish-iso-8859-9', 'tt'),
'tt-utf-8' => array('tt|tatarish', 'tatarish-utf-8', 'tt'),
'uk-win1251' => array('uk|ukrainian', 'ukrainian-windows-1251', 'uk'),
'uk-utf-8' => array('uk|ukrainian', 'ukrainian-utf-8', 'uk'),
'zhtw-big5' => array('zh[-_](tw|hk)|chinese traditional', 'chinese_traditional-big5', 'zh-TW'),
'zhtw-utf-8' => array('zh[-_](tw|hk)|chinese traditional', 'chinese_traditional-utf-8', 'zh-TW'),
'zh-gb2312' => array('zh|chinese simplified', 'chinese_simplified-gb2312', 'zh'),
'zh-utf-8' => array('zh|chinese simplified', 'chinese_simplified-utf-8', 'zh')
'becyr-win1251' => array('be|belarusian', 'belarusian_cyrillic-windows-1251', 'be', 'Беларуская'),
'becyr-utf-8' => array('be|belarusian', 'belarusian_cyrillic-utf-8', 'be', 'Беларуская'),
'belat-utf-8' => array('be[-_]lat|belarusian latin', 'belarusian_latin-utf-8', 'be-lat', 'Byelorussian'),
'bg-win1251' => array('bg|bulgarian', 'bulgarian-windows-1251', 'bg', 'Български'),
'bg-koi8-r' => array('bg|bulgarian', 'bulgarian-koi8-r', 'bg', 'Български'),
'bg-utf-8' => array('bg|bulgarian', 'bulgarian-utf-8', 'bg', 'Български'),
'bs-win1250' => array('bs|bosnian', 'bosnian-windows-1250', 'bs', 'Bosanski'),
'bs-utf-8' => array('bs|bosnian', 'bosnian-utf-8', 'bs', 'Bosanski'),
'ca-iso-8859-1' => array('ca|catalan', 'catalan-iso-8859-1', 'ca', 'Català'),
'ca-utf-8' => array('ca|catalan', 'catalan-utf-8', 'ca', 'Català'),
'cs-iso-8859-2' => array('cs|czech', 'czech-iso-8859-2', 'cs', 'Česky'),
'cs-win1250' => array('cs|czech', 'czech-windows-1250', 'cs', 'Česky'),
'cs-utf-8' => array('cs|czech', 'czech-utf-8', 'cs', 'Česky'),
'da-iso-8859-1' => array('da|danish', 'danish-iso-8859-1', 'da', 'Dansk'),
'da-utf-8' => array('da|danish', 'danish-utf-8', 'da', 'Dansk'),
'de-iso-8859-1' => array('de|german', 'german-iso-8859-1', 'de', 'Deutsch'),
'de-iso-8859-15' => array('de|german', 'german-iso-8859-15', 'de', 'Deutsch'),
'de-utf-8' => array('de|german', 'german-utf-8', 'de', 'Deutsch'),
'el-iso-8859-7' => array('el|greek', 'greek-iso-8859-7', 'el', 'Ελληνικά'),
'el-utf-8' => array('el|greek', 'greek-utf-8', 'el', 'Ελληνικά'),
'en-iso-8859-1' => array('en|english', 'english-iso-8859-1', 'en', ''),
'en-iso-8859-15' => array('en|english', 'english-iso-8859-15', 'en', ''),
'en-utf-8' => array('en|english', 'english-utf-8', 'en', ''),
'es-iso-8859-1' => array('es|spanish', 'spanish-iso-8859-1', 'es', 'Español'),
'es-iso-8859-15' => array('es|spanish', 'spanish-iso-8859-15', 'es', 'Español'),
'es-utf-8' => array('es|spanish', 'spanish-utf-8', 'es', 'Español'),
'et-iso-8859-1' => array('et|estonian', 'estonian-iso-8859-1', 'et', 'Eesti'),
'et-utf-8' => array('et|estonian', 'estonian-utf-8', 'et', 'Eesti'),
'eu-iso-8859-1' => array('eu|basque', 'basque-iso-8859-1', 'eu', 'Euskara'),
'eu-utf-8' => array('eu|basque', 'basque-utf-8', 'eu', 'Euskara'),
'fa-win1256' => array('fa|persian', 'persian-windows-1256', 'fa', 'فارسی'),
'fa-utf-8' => array('fa|persian', 'persian-utf-8', 'fa', 'فارسی'),
'fi-iso-8859-1' => array('fi|finnish', 'finnish-iso-8859-1', 'fi', 'Suomi'),
'fi-iso-8859-15' => array('fi|finnish', 'finnish-iso-8859-15', 'fi', 'Suomi'),
'fi-utf-8' => array('fi|finnish', 'finnish-utf-8', 'fi', 'Suomi'),
'fr-iso-8859-1' => array('fr|french', 'french-iso-8859-1', 'fr', 'Français'),
'fr-iso-8859-15' => array('fr|french', 'french-iso-8859-15', 'fr', 'Français'),
'fr-utf-8' => array('fr|french', 'french-utf-8', 'fr', 'Français'),
'gl-iso-8859-1' => array('gl|galician', 'galician-iso-8859-1', 'gl', 'Galego'),
'gl-utf-8' => array('gl|galician', 'galician-utf-8', 'gl', 'Galego'),
'he-iso-8859-8-i' => array('he|hebrew', 'hebrew-iso-8859-8-i', 'he', 'עברית'),
'he-utf-8' => array('he|hebrew', 'hebrew-utf-8', 'he', 'עברית'),
'hi-utf-8' => array('hi|hindi', 'hindi-utf-8', 'hi', 'हिन्दी'),
'hr-win1250' => array('hr|croatian', 'croatian-windows-1250', 'hr', 'Hrvatski'),
'hr-iso-8859-2' => array('hr|croatian', 'croatian-iso-8859-2', 'hr', 'Hrvatski'),
'hr-utf-8' => array('hr|croatian', 'croatian-utf-8', 'hr', 'Hrvatski'),
'hu-iso-8859-2' => array('hu|hungarian', 'hungarian-iso-8859-2', 'hu', 'Magyar'),
'hu-utf-8' => array('hu|hungarian', 'hungarian-utf-8', 'hu', 'Magyar'),
'id-iso-8859-1' => array('id|indonesian', 'indonesian-iso-8859-1', 'id', 'Bahasa Indonesia'),
'id-utf-8' => array('id|indonesian', 'indonesian-utf-8', 'id', 'Bahasa Indonesia'),
'it-iso-8859-1' => array('it|italian', 'italian-iso-8859-1', 'it', 'Italiano'),
'it-iso-8859-15' => array('it|italian', 'italian-iso-8859-15', 'it', 'Italiano'),
'it-utf-8' => array('it|italian', 'italian-utf-8', 'it', 'Italiano'),
'ja-euc' => array('ja|japanese', 'japanese-euc', 'ja', '日本語'),
'ja-sjis' => array('ja|japanese', 'japanese-sjis', 'ja', '日本語'),
'ja-utf-8' => array('ja|japanese', 'japanese-utf-8', 'ja', '日本語'),
'ko-euc-kr' => array('ko|korean', 'korean-euc-kr', 'ko', '한국어'),
'ko-utf-8' => array('ko|korean', 'korean-utf-8', 'ko', '한국어'),
'ka-utf-8' => array('ka|georgian', 'georgian-utf-8', 'ka', 'ქართული'),
'lt-win1257' => array('lt|lithuanian', 'lithuanian-windows-1257', 'lt', 'Lietuvių'),
'lt-utf-8' => array('lt|lithuanian', 'lithuanian-utf-8', 'lt', 'Lietuvių'),
'lv-win1257' => array('lv|latvian', 'latvian-windows-1257', 'lv', 'Latviešu'),
'lv-utf-8' => array('lv|latvian', 'latvian-utf-8', 'lv', 'Latviešu'),
'mn-utf-8' => array('mn|mongolian', 'mongolian-utf-8', 'mn', 'Монгол'),
'ms-iso-8859-1' => array('ms|malay', 'malay-iso-8859-1', 'ms', 'Bahasa Melayu'),
'ms-utf-8' => array('ms|malay', 'malay-utf-8', 'ms', 'Bahasa Melayu'),
'nl-iso-8859-1' => array('nl|dutch', 'dutch-iso-8859-1', 'nl', 'Nederlands'),
'nl-iso-8859-15' => array('nl|dutch', 'dutch-iso-8859-15', 'nl', 'Nederlands'),
'nl-utf-8' => array('nl|dutch', 'dutch-utf-8', 'nl', 'Nederlands'),
'no-iso-8859-1' => array('no|norwegian', 'norwegian-iso-8859-1', 'no', 'Norsk'),
'no-utf-8' => array('no|norwegian', 'norwegian-utf-8', 'no', 'Norsk'),
'pl-iso-8859-2' => array('pl|polish', 'polish-iso-8859-2', 'pl', 'Polski'),
'pl-win1250' => array('pl|polish', 'polish-windows-1250', 'pl', 'Polski'),
'pl-utf-8' => array('pl|polish', 'polish-utf-8', 'pl', 'Polski'),
'ptbr-iso-8859-1' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-iso-8859-1', 'pt-BR', 'Português'),
'ptbr-utf-8' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-utf-8', 'pt-BR', 'Português'),
'pt-iso-8859-1' => array('pt|portuguese', 'portuguese-iso-8859-1', 'pt', 'Português'),
'pt-iso-8859-15' => array('pt|portuguese', 'portuguese-iso-8859-15', 'pt', 'Português'),
'pt-utf-8' => array('pt|portuguese', 'portuguese-utf-8', 'pt', 'Português'),
'ro-iso-8859-1' => array('ro|romanian', 'romanian-iso-8859-1', 'ro', 'Română'),
'ro-utf-8' => array('ro|romanian', 'romanian-utf-8', 'ro', 'Română'),
'ru-win1251' => array('ru|russian', 'russian-windows-1251', 'ru', 'Русский'),
'ru-cp-866' => array('ru|russian', 'russian-cp-866', 'ru', 'Русский'),
'ru-koi8-r' => array('ru|russian', 'russian-koi8-r', 'ru', 'Русский'),
'ru-utf-8' => array('ru|russian', 'russian-utf-8', 'ru', 'Русский'),
'sk-iso-8859-2' => array('sk|slovak', 'slovak-iso-8859-2', 'sk', 'Slovenčina'),
'sk-win1250' => array('sk|slovak', 'slovak-windows-1250', 'sk', 'Slovenčina'),
'sk-utf-8' => array('sk|slovak', 'slovak-utf-8', 'sk', 'Slovenčina'),
'sl-iso-8859-2' => array('sl|slovenian', 'slovenian-iso-8859-2', 'sl', 'Slovenščina'),
'sl-win1250' => array('sl|slovenian', 'slovenian-windows-1250', 'sl', 'Slovenščina'),
'sl-utf-8' => array('sl|slovenian', 'slovenian-utf-8', 'sl', 'Slovenščina'),
'sq-iso-8859-1' => array('sq|albanian', 'albanian-iso-8859-1', 'sq', 'Shqip'),
'sq-utf-8' => array('sq|albanian', 'albanian-utf-8', 'sq', 'Shqip'),
'srlat-win1250' => array('sr[-_]lat|serbian latin', 'serbian_latin-windows-1250', 'sr-lat', 'Srpski'),
'srlat-utf-8' => array('sr[-_]lat|serbian latin', 'serbian_latin-utf-8', 'sr-lat', 'Srpski'),
'srcyr-win1251' => array('sr|serbian', 'serbian_cyrillic-windows-1251', 'sr', 'Српски'),
'srcyr-utf-8' => array('sr|serbian', 'serbian_cyrillic-utf-8', 'sr', 'Српски'),
'sv-iso-8859-1' => array('sv|swedish', 'swedish-iso-8859-1', 'sv', 'Svenska'),
'sv-utf-8' => array('sv|swedish', 'swedish-utf-8', 'sv', 'Svenska'),
'th-tis-620' => array('th|thai', 'thai-tis-620', 'th', 'ภาษาไทย'),
'th-utf-8' => array('th|thai', 'thai-utf-8', 'th', 'ภาษาไทย'),
'tr-iso-8859-9' => array('tr|turkish', 'turkish-iso-8859-9', 'tr', 'Türkçe'),
'tr-utf-8' => array('tr|turkish', 'turkish-utf-8', 'tr', 'Türkçe'),
'tt-iso-8859-9' => array('tt|tatarish', 'tatarish-iso-8859-9', 'tt', 'Tatar'),
'tt-utf-8' => array('tt|tatarish', 'tatarish-utf-8', 'tt', 'Tatar'),
'uk-win1251' => array('uk|ukrainian', 'ukrainian-windows-1251', 'uk', 'Українська'),
'uk-utf-8' => array('uk|ukrainian', 'ukrainian-utf-8', 'uk', 'Українська'),
'zhtw-big5' => array('zh[-_](tw|hk)|chinese traditional', 'chinese_traditional-big5', 'zh-TW', '中文'),
'zhtw-utf-8' => array('zh[-_](tw|hk)|chinese traditional', 'chinese_traditional-utf-8', 'zh-TW', '中文'),
'zh-gb2312' => array('zh|chinese simplified', 'chinese_simplified-gb2312', 'zh', '中文'),
'zh-utf-8' => array('zh|chinese simplified', 'chinese_simplified-utf-8', 'zh', '中文'),
);
// Language filtering support