0
|
1 <?php
|
|
2
|
|
3 /*
|
|
4 +-----------------------------------------------------------------------+
|
|
5 | program/localization/index.inc |
|
|
6 | |
|
|
7 | This file is part of the Roundcube Webmail client |
|
|
8 | Copyright (C) 2005-2014, The Roundcube Dev Team |
|
|
9 | |
|
|
10 | Licensed under the GNU General Public License version 3 or |
|
|
11 | any later version with exceptions for skins & plugins. |
|
|
12 | See the README file for a full license statement. |
|
|
13 | |
|
|
14 | PURPOSE: |
|
|
15 | Provide a centralized location table |
|
|
16 | for keeping track of available languages |
|
|
17 | |
|
|
18 +-----------------------------------------------------------------------+
|
|
19 | Author: Thomas Bruederli <roundcube@gmail.com> |
|
|
20 +-----------------------------------------------------------------------+
|
|
21 */
|
|
22
|
|
23 // language codes according to ISO 639-1
|
|
24 // country codes according to ISO 3166-1 (Alpha-2)
|
|
25 // original names from http://www.mediaglyphs.org/mg/?p=langnames
|
|
26
|
|
27 $rcube_languages = array(
|
|
28 'sq_AL' => 'Albanian (Shqip)',
|
|
29 'ar' => 'Arabic (العربية)',
|
|
30 'ar_SA' => 'Arabic (Saudi Arabia)',
|
|
31 'hy_AM' => 'Armenian (Հայերեն)',
|
|
32 'ast' => 'Asturiana (Asturianu)',
|
|
33 'az_AZ' => 'Azerbaijani (Azərbaycanca)',
|
|
34 'eu_ES' => 'Basque (Euskara)',
|
|
35 'be_BE' => 'Belarusian (беларуская мова)',
|
|
36 'bn_BD' => 'Bengali (বাংলা)',
|
|
37 'bs_BA' => 'Bosnian (Bosanski)',
|
|
38 'br' => 'Breton (Brezhoneg)',
|
|
39 'bg_BG' => 'Bulgarian (Български)',
|
|
40 'ca_ES' => 'Catalan (Català)',
|
|
41 'zh_CN' => 'Chinese (简体中文)',
|
|
42 'zh_TW' => 'Chinese (正體中文)',
|
|
43 'hr_HR' => 'Croatian (Hrvatski)',
|
|
44 'cs_CZ' => 'Czech (Česky)',
|
|
45 'da_DK' => 'Danish (Dansk)',
|
|
46 'fa_AF' => 'Dari (ﻯﺭﺩ)',
|
|
47 'de_DE' => 'German (Deutsch)',
|
|
48 'de_CH' => 'German (Schweiz)',
|
|
49 'nl_NL' => 'Dutch (Nederlands)',
|
|
50 'en_CA' => 'English (Canada)',
|
|
51 'en_GB' => 'English (GB)',
|
|
52 'en_US' => 'English (US)',
|
|
53 'eo' => 'Esperanto',
|
|
54 'et_EE' => 'Estonian (Eesti)',
|
|
55 'fo_FO' => 'Faroese (Føroyskt)',
|
|
56 'fi_FI' => 'Finnish (Suomi)',
|
|
57 'nl_BE' => 'Flemish (Vlaams)',
|
|
58 'fr_FR' => 'French (Français)',
|
|
59 'gl_ES' => 'Galician (Galego)',
|
|
60 'ka_GE' => 'Georgian (ქართული)',
|
|
61 'el_GR' => 'Greek (Ελληνικά)',
|
|
62 'he_IL' => 'Hebrew (עברית)',
|
|
63 'hi_IN' => 'Hindi (हिनदी)',
|
|
64 'hu_HU' => 'Hungarian (Magyar)',
|
|
65 'is_IS' => 'Icelandic (Íslenska)',
|
|
66 'id_ID' => 'Indonesian (Bahasa Indonesia)',
|
|
67 'ia' => 'Interlingua',
|
|
68 'ga_IE' => 'Irish (Gaedhilge)',
|
|
69 'it_IT' => 'Italian (Italiano)',
|
|
70 'ja_JP' => 'Japanese (日本語)',
|
|
71 'kab' => 'Kabyle (Taqbaylit)',
|
|
72 'km_KH' => 'Khmer (ភាសាខ្មែរ)',
|
|
73 'kn_IN' => 'Konkani (कोंकणी)',
|
|
74 'ko_KR' => 'Korean (한국어)',
|
|
75 'ku' => 'Kurdish (Kurmancî)',
|
|
76 'lv_LV' => 'Latvian (Latviešu)',
|
|
77 'lt_LT' => 'Lithuanian (Lietuviškai)',
|
|
78 'lb_LU' => 'Luxembourgish (Lëtzebuergesch)',
|
|
79 'mk_MK' => 'Macedonian (Македонски)',
|
|
80 'ms_MY' => 'Malay (Bahasa Melayu)',
|
|
81 'ml_IN' => 'Malayalam (മലയാളം)',
|
|
82 'mr_IN' => 'Marathi (मराठी)',
|
|
83 'ne_NP' => 'Nepali (नेपाली)',
|
|
84 'nb_NO' => 'Norwegian (Bokmål)',
|
|
85 'nn_NO' => 'Norwegian (Nynorsk)',
|
|
86 'ps' => 'Pashto',
|
|
87 'fa_IR' => 'Persian (فارسی)',
|
|
88 'pl_PL' => 'Polish (Polski)',
|
|
89 'pt_BR' => 'Portuguese (Brasil)',
|
|
90 'pt_PT' => 'Portuguese (Português)',
|
|
91 'ro_RO' => 'Romanian (Româneşte)',
|
|
92 'ru_RU' => 'Russian (Русский)',
|
|
93 'sr_CS' => 'Serbian (Српски)',
|
|
94 'si_LK' => 'Sinhalese (සිංහල)',
|
|
95 'sk_SK' => 'Slovak (Slovenčina)',
|
|
96 'sl_SI' => 'Slovenian (Slovenščina)',
|
|
97 'es_AR' => 'Spanish (Argentina)',
|
|
98 'es_ES' => 'Spanish (Español)',
|
|
99 'es_419' => 'Spanish (Latin America)',
|
|
100 'sv_SE' => 'Swedish (Svenska)',
|
|
101 'ta_IN' => 'Tamil (தமிழ்)',
|
|
102 'ti' => 'Tigrinya (ትግርኛ)',
|
|
103 'th_TH' => 'Thai (ไทย)',
|
|
104 'tr_TR' => 'Turkish (Türkçe)',
|
|
105 'tzl' => 'Talossan',
|
|
106 'uk_UA' => 'Ukrainian (Українська)',
|
|
107 'ur_PK' => 'Urdu (اُردو)',
|
|
108 'uz' => 'Uzbek (Oʻzbekcha)',
|
|
109 'vi_VN' => 'Vietnamese (Tiếng Việt)',
|
|
110 'cy_GB' => 'Welsh (Cymraeg)',
|
|
111 'fy_NL' => 'West Frisian (Frysk)',
|
|
112 );
|
|
113
|
|
114 $rcube_language_aliases = array(
|
|
115 'am' => 'hy_AM',
|
|
116 'az' => 'az_AZ',
|
|
117 'bg' => 'bg_BG',
|
|
118 'bs' => 'bs_BA',
|
|
119 'ca' => 'ca_ES',
|
|
120 'cn' => 'zh_CN',
|
|
121 'cs' => 'cs_CZ',
|
|
122 'cy' => 'cy_GB',
|
|
123 'cz' => 'cs_CZ',
|
|
124 'da' => 'da_DK',
|
|
125 'de' => 'de_DE',
|
|
126 'ee' => 'et_EE',
|
|
127 'et' => 'et_EE',
|
|
128 'el' => 'el_GR',
|
|
129 'en' => 'en_US',
|
|
130 'eu' => 'eu_ES',
|
|
131 'fa' => 'fa_IR',
|
|
132 'ga' => 'ga_IE',
|
|
133 'ge' => 'ka_GE',
|
|
134 'gl' => 'gl_ES',
|
|
135 'he' => 'he_IL',
|
|
136 'hi' => 'hi_IN',
|
|
137 'hr' => 'hr_HR',
|
|
138 'hy' => 'hy_AM',
|
|
139 'ja' => 'ja_JP',
|
|
140 'ka' => 'ka_GE',
|
|
141 'ko' => 'ko_KR',
|
|
142 'kr' => 'ko_KR',
|
|
143 'kh' => 'km_KH',
|
|
144 'kh_KH' => 'km_KH',
|
|
145 'kn' => 'kn_IN',
|
|
146 'km' => 'km_KH',
|
|
147 'lb' => 'lb_LU',
|
|
148 'ne' => 'ne_NP',
|
|
149 'no' => 'nn_NO',
|
|
150 'ms' => 'ms_MY',
|
|
151 'mr' => 'mr_IN',
|
|
152 'ml' => 'ml_IN',
|
|
153 'ml_ML' => 'ml_IN',
|
|
154 'pl' => 'pl_PL',
|
|
155 'tr' => 'tr_TR',
|
|
156 'tw' => 'zh_TW',
|
|
157 'si' => 'si_LK',
|
|
158 'sl' => 'sl_SI',
|
|
159 'sr' => 'sr_CS',
|
|
160 'sr_cyrillic' => 'sr_CS',
|
|
161 'sr_latin' => 'bs_BA',
|
|
162 'se' => 'sv_SE',
|
|
163 'sv' => 'sv_SE',
|
|
164 'sq' => 'sq_AL',
|
|
165 'uk' => 'uk_UA',
|
|
166 'vn' => 'vi_VN',
|
|
167 'vi' => 'vi_VN',
|
|
168 'zh' => 'zh_CN',
|
|
169 );
|
|
170
|
|
171 ?>
|