summaryrefslogtreecommitdiff
path: root/program/localization/index.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/localization/index.inc')
-rw-r--r--program/localization/index.inc179
1 files changed, 103 insertions, 76 deletions
diff --git a/program/localization/index.inc b/program/localization/index.inc
index 91b97db1b..8b06bcb7d 100644
--- a/program/localization/index.inc
+++ b/program/localization/index.inc
@@ -9,8 +9,8 @@
| Licensed under the GNU GPL |
| |
| PURPOSE: |
- | Provide centralized location for keeping track of |
- | available languages |
+ | Provide a centralized location table |
+ | for keeping track of available languages |
| |
+-----------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |
@@ -19,84 +19,111 @@
$Id$
*/
-
- $rcube_languages = array(
- 'sq_AL' => 'Albanian',
- 'ar' => 'Arabic',
- 'am' => 'Armenian',
- 'bs_BA' => 'Bosnian (Bosanski)',
- 'bg' => 'Bulgarian',
- 'ca' => 'Català',
- 'zh_CN' => 'Chinese (Simplified)',
- 'zh_TW' => 'Chinese (Traditional)',
- 'hr' => 'Croatian (Hrvatski)',
- 'cz' => 'Czech',
- 'da' => 'Dansk',
- 'de_DE' => 'Deutsch (Deutsch)',
- 'de_CH' => 'Deutsch (Schweiz)',
- 'en_GB' => 'English (GB)',
- 'en_US' => 'English (US)',
- 'es' => 'Español',
- 'eo' => 'Esperanto',
- 'et_EE' => 'Estonian',
- 'eu' => 'Euskara',
- 'nl_BE' => 'Flemish',
- 'fr' => 'Français',
- 'gl' => 'Galego',
- 'ge' => 'Georgian',
- 'el' => 'Greek',
- 'he' => 'Hebrew',
- 'hi' => 'Hindi',
- 'hu' => 'Hungarian',
- 'is' => 'Icelandic',
- 'id_ID' => 'Indonesian',
- 'ga_IE' => 'Irish',
- 'it' => 'Italiano',
- 'ja' => 'Japanese (日本語)',
- 'kr' => 'Korean',
- 'ku' => 'Kurdish (Kurmancî)',
- 'lv' => 'Latvian',
- 'lt' => 'Lithuanian',
- 'mk' => 'Macedonian',
- 'ms_MY' => 'Malay',
- 'nl_NL' => 'Nederlands',
- 'ne' => 'Nepali',
- 'nb_NO' => 'Norsk (bokmål)',
- 'nn_NO' => 'Norsk (nynorsk)',
- 'fa' => 'Persian',
- 'pl_PL' => 'Polski',
- 'pt_BR' => 'Portuguese (Brazilian)',
- 'pt_PT' => 'Portuguese (Standard)',
- 'ro' => 'Romanian',
- 'ru' => 'Russian',
- 'sr_cyrillic' => 'Serbian Cyrillic',
- 'sr_latin' => 'Serbian Latin',
- 'si' => 'Sinhala',
- 'sk' => 'Slovak',
- 'sl' => 'Slovenian',
- 'fi' => 'Suomi',
- 'se' => 'Svenska',
- 'th_TH' => 'Thai',
- 'tr' => 'Turkish',
- 'uk' => 'Ukrainian',
- 'vn' => 'Vietnamese'
+
+// langage codes according to ISO 639-1
+// country codes according to ISO 3166-1 (Alpha-2)
+
+$rcube_languages = array(
+ 'sq_AL' => 'Albanian',
+ 'ar_SA' => 'Arabic',
+ 'hy_AM' => 'Armenian',
+ 'bs_BA' => 'Bosnian (Serbian Latin)',
+ 'bg_BG' => 'Bulgarian',
+ 'ca_ES' => 'Català',
+ 'zh_CN' => 'Chinese (Simplified)',
+ 'zh_TW' => 'Chinese (Traditional)',
+ 'hr_HR' => 'Croatian (Hrvatski)',
+ 'cs_CZ' => 'Czech',
+ 'da_DK' => 'Dansk',
+ 'de_DE' => 'Deutsch (Deutsch)',
+ 'de_CH' => 'Deutsch (Schweiz)',
+ 'en_GB' => 'English (GB)',
+ 'en_US' => 'English (US)',
+ 'es_ES' => 'Español',
+ 'eo' => 'Esperanto',
+ 'et_EE' => 'Estonian',
+ 'eu_ES' => 'Euskara (Basque)',
+ 'fi_FI' => 'Finnish (Suomi)',
+ 'nl_BE' => 'Flemish',
+ 'fr_FR' => 'Français',
+ 'gl_ES' => 'Galego (Galician)',
+ 'ka_GE' => 'Georgian (Kartuli)',
+ 'el_GR' => 'Greek',
+ 'he_IL' => 'Hebrew',
+ 'hi_IN' => 'Hindi',
+ 'hu_HU' => 'Hungarian',
+ 'is_IS' => 'Icelandic',
+ 'id_ID' => 'Indonesian',
+ 'ga_IE' => 'Irish',
+ 'it_IT' => 'Italiano',
+ 'ja_JP' => 'Japanese (日本語)',
+ 'ko_KR' => 'Korean',
+ 'ku' => 'Kurdish (Kurmancî)',
+ 'lv_LV' => 'Latvian',
+ 'lt_LT' => 'Lithuanian',
+ 'mk_MK' => 'Macedonian',
+ 'ms_MY' => 'Malay',
+ 'nl_NL' => 'Nederlands',
+ 'ne_NP' => 'Nepali',
+ 'nb_NO' => 'Norsk (Bokmål)',
+ 'nn_NO' => 'Norsk (Nynorsk)',
+ 'fa' => 'Persian (Farsi)',
+ 'pl_PL' => 'Polski',
+ 'pt_BR' => 'Portuguese (Brazilian)',
+ 'pt_PT' => 'Portuguese (Standard)',
+ 'ro_RO' => 'Romanian',
+ 'ru_RU' => 'Russian',
+ 'sr_CS' => 'Serbian (Cyrillic)',
+ 'si_LK' => 'Sinhala',
+ 'sk_SK' => 'Slovak',
+ 'sl_SI' => 'Slovenian',
+ 'sv_SE' => 'Swedish (Svenska)',
+ 'th_TH' => 'Thai',
+ 'tr_TR' => 'Turkish',
+ 'uk_UA' => 'Ukrainian',
+ 'vi_VN' => 'Vietnamese',
);
$rcube_language_aliases = array(
- 'ee' => 'et_EE',
- 'bs' => 'bs_BA',
- 'cn' => 'zh_CN',
- 'de' => 'de_DE',
- 'en' => 'en_US',
- 'ga' => 'ga_IE',
- 'nl' => 'nl_NL',
- 'no' => 'nn_NO',
- 'pt' => 'pt_PT',
- 'th' => 'th_TH',
- 'tw' => 'zh_TW',
- 'pl' => 'pl_PL'
+ 'ar' => 'ar_SA',
+ 'am' => 'hy_AM',
+ 'bg' => 'bg_BG',
+ 'bs' => 'bs_BA',
+ 'ca' => 'ca_ES',
+ 'cn' => 'zh_CN',
+ 'cs' => 'cs_CZ',
+ 'cz' => 'cs_CZ',
+ 'da' => 'da_DK',
+ 'de' => 'de_DE',
+ 'ee' => 'et_EE',
+ 'el' => 'el_GR',
+ 'en' => 'en_US',
+ 'eu' => 'eu_ES',
+ 'ga' => 'ga_IE',
+ 'ge' => 'ka_GE',
+ 'gl' => 'gl_ES',
+ 'he' => 'he_IL',
+ 'hi' => 'hi_IN',
+ 'hr' => 'hr_HR',
+ 'ja' => 'ja_JP',
+ 'ko' => 'ko_KR',
+ 'kr' => 'ko_KR',
+ 'ne' => 'ne_NP',
+ 'no' => 'nn_NO',
+ 'ms' => 'ms_MY',
+ 'tw' => 'zh_TW',
+ 'si' => 'si_LK',
+ 'sl' => 'sl_SI',
+ 'sr' => 'sr_CS',
+ 'sr_cyrillic' => 'sr_CS',
+ 'sr_latin' => 'bs_BA',
+ 'se' => 'sv_SE',
+ 'sv' => 'sv_SE',
+ 'uk' => 'uk_UA',
+ 'vn' => 'vi_VN',
+ 'vi' => 'vi_VN',
+ 'zh' => 'zh_CN',
);
-$rcube_charsets = array();
?>