1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Provides a list of countries and languages based on ISO standards.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Get an array of all country code => country name pairs.
|
10 |
|
|
*
|
11 |
|
|
* Get an array of all country code => country name pairs as laid out
|
12 |
|
|
* in ISO 3166-1 alpha-2.
|
13 |
|
|
* Grabbed from location project (http://drupal.org/project/location).
|
14 |
|
|
* @return
|
15 |
|
|
* An array of all country code => country name pairs.
|
16 |
|
|
*/
|
17 |
|
|
function _country_get_predefined_list() {
|
18 |
|
|
static $countries;
|
19 |
|
|
|
20 |
|
|
if (isset($countries)) {
|
21 |
|
|
return $countries;
|
22 |
|
|
}
|
23 |
|
|
$t = get_t();
|
24 |
|
|
|
25 |
|
|
$countries = array(
|
26 |
|
|
'AD' => $t('Andorra'),
|
27 |
|
|
'AE' => $t('United Arab Emirates'),
|
28 |
|
|
'AF' => $t('Afghanistan'),
|
29 |
|
|
'AG' => $t('Antigua and Barbuda'),
|
30 |
|
|
'AI' => $t('Anguilla'),
|
31 |
|
|
'AL' => $t('Albania'),
|
32 |
|
|
'AM' => $t('Armenia'),
|
33 |
|
|
'AN' => $t('Netherlands Antilles'),
|
34 |
|
|
'AO' => $t('Angola'),
|
35 |
|
|
'AQ' => $t('Antarctica'),
|
36 |
|
|
'AR' => $t('Argentina'),
|
37 |
|
|
'AS' => $t('American Samoa'),
|
38 |
|
|
'AT' => $t('Austria'),
|
39 |
|
|
'AU' => $t('Australia'),
|
40 |
|
|
'AW' => $t('Aruba'),
|
41 |
|
|
'AX' => $t('Aland Islands'),
|
42 |
|
|
'AZ' => $t('Azerbaijan'),
|
43 |
|
|
'BA' => $t('Bosnia and Herzegovina'),
|
44 |
|
|
'BB' => $t('Barbados'),
|
45 |
|
|
'BD' => $t('Bangladesh'),
|
46 |
|
|
'BE' => $t('Belgium'),
|
47 |
|
|
'BF' => $t('Burkina Faso'),
|
48 |
|
|
'BG' => $t('Bulgaria'),
|
49 |
|
|
'BH' => $t('Bahrain'),
|
50 |
|
|
'BI' => $t('Burundi'),
|
51 |
|
|
'BJ' => $t('Benin'),
|
52 |
|
|
'BL' => $t('Saint Barthélemy'),
|
53 |
|
|
'BM' => $t('Bermuda'),
|
54 |
|
|
'BN' => $t('Brunei'),
|
55 |
|
|
'BO' => $t('Bolivia'),
|
56 |
|
|
'BR' => $t('Brazil'),
|
57 |
|
|
'BS' => $t('Bahamas'),
|
58 |
|
|
'BT' => $t('Bhutan'),
|
59 |
|
|
'BV' => $t('Bouvet Island'),
|
60 |
|
|
'BW' => $t('Botswana'),
|
61 |
|
|
'BY' => $t('Belarus'),
|
62 |
|
|
'BZ' => $t('Belize'),
|
63 |
|
|
'CA' => $t('Canada'),
|
64 |
|
|
'CC' => $t('Cocos (Keeling) Islands'),
|
65 |
|
|
'CD' => $t('Congo (Kinshasa)'),
|
66 |
|
|
'CF' => $t('Central African Republic'),
|
67 |
|
|
'CG' => $t('Congo (Brazzaville)'),
|
68 |
|
|
'CH' => $t('Switzerland'),
|
69 |
|
|
'CI' => $t('Ivory Coast'),
|
70 |
|
|
'CK' => $t('Cook Islands'),
|
71 |
|
|
'CL' => $t('Chile'),
|
72 |
|
|
'CM' => $t('Cameroon'),
|
73 |
|
|
'CN' => $t('China'),
|
74 |
|
|
'CO' => $t('Colombia'),
|
75 |
|
|
'CR' => $t('Costa Rica'),
|
76 |
|
|
'CU' => $t('Cuba'),
|
77 |
|
|
'CW' => $t('Curaçao'),
|
78 |
|
|
'CV' => $t('Cape Verde'),
|
79 |
|
|
'CX' => $t('Christmas Island'),
|
80 |
|
|
'CY' => $t('Cyprus'),
|
81 |
|
|
'CZ' => $t('Czech Republic'),
|
82 |
|
|
'DE' => $t('Germany'),
|
83 |
|
|
'DJ' => $t('Djibouti'),
|
84 |
|
|
'DK' => $t('Denmark'),
|
85 |
|
|
'DM' => $t('Dominica'),
|
86 |
|
|
'DO' => $t('Dominican Republic'),
|
87 |
|
|
'DZ' => $t('Algeria'),
|
88 |
|
|
'EC' => $t('Ecuador'),
|
89 |
|
|
'EE' => $t('Estonia'),
|
90 |
|
|
'EG' => $t('Egypt'),
|
91 |
|
|
'EH' => $t('Western Sahara'),
|
92 |
|
|
'ER' => $t('Eritrea'),
|
93 |
|
|
'ES' => $t('Spain'),
|
94 |
|
|
'ET' => $t('Ethiopia'),
|
95 |
|
|
'FI' => $t('Finland'),
|
96 |
|
|
'FJ' => $t('Fiji'),
|
97 |
|
|
'FK' => $t('Falkland Islands'),
|
98 |
|
|
'FM' => $t('Micronesia'),
|
99 |
|
|
'FO' => $t('Faroe Islands'),
|
100 |
|
|
'FR' => $t('France'),
|
101 |
|
|
'GA' => $t('Gabon'),
|
102 |
|
|
'GB' => $t('United Kingdom'),
|
103 |
|
|
'GD' => $t('Grenada'),
|
104 |
|
|
'GE' => $t('Georgia'),
|
105 |
|
|
'GF' => $t('French Guiana'),
|
106 |
|
|
'GG' => $t('Guernsey'),
|
107 |
|
|
'GH' => $t('Ghana'),
|
108 |
|
|
'GI' => $t('Gibraltar'),
|
109 |
|
|
'GL' => $t('Greenland'),
|
110 |
|
|
'GM' => $t('Gambia'),
|
111 |
|
|
'GN' => $t('Guinea'),
|
112 |
|
|
'GP' => $t('Guadeloupe'),
|
113 |
|
|
'GQ' => $t('Equatorial Guinea'),
|
114 |
|
|
'GR' => $t('Greece'),
|
115 |
|
|
'GS' => $t('South Georgia and the South Sandwich Islands'),
|
116 |
|
|
'GT' => $t('Guatemala'),
|
117 |
|
|
'GU' => $t('Guam'),
|
118 |
|
|
'GW' => $t('Guinea-Bissau'),
|
119 |
|
|
'GY' => $t('Guyana'),
|
120 |
|
|
'HK' => $t('Hong Kong S.A.R., China'),
|
121 |
|
|
'HM' => $t('Heard Island and McDonald Islands'),
|
122 |
|
|
'HN' => $t('Honduras'),
|
123 |
|
|
'HR' => $t('Croatia'),
|
124 |
|
|
'HT' => $t('Haiti'),
|
125 |
|
|
'HU' => $t('Hungary'),
|
126 |
|
|
'ID' => $t('Indonesia'),
|
127 |
|
|
'IE' => $t('Ireland'),
|
128 |
|
|
'IL' => $t('Israel'),
|
129 |
|
|
'IM' => $t('Isle of Man'),
|
130 |
|
|
'IN' => $t('India'),
|
131 |
|
|
'IO' => $t('British Indian Ocean Territory'),
|
132 |
|
|
'IQ' => $t('Iraq'),
|
133 |
|
|
'IR' => $t('Iran'),
|
134 |
|
|
'IS' => $t('Iceland'),
|
135 |
|
|
'IT' => $t('Italy'),
|
136 |
|
|
'JE' => $t('Jersey'),
|
137 |
|
|
'JM' => $t('Jamaica'),
|
138 |
|
|
'JO' => $t('Jordan'),
|
139 |
|
|
'JP' => $t('Japan'),
|
140 |
|
|
'KE' => $t('Kenya'),
|
141 |
|
|
'KG' => $t('Kyrgyzstan'),
|
142 |
|
|
'KH' => $t('Cambodia'),
|
143 |
|
|
'KI' => $t('Kiribati'),
|
144 |
|
|
'KM' => $t('Comoros'),
|
145 |
|
|
'KN' => $t('Saint Kitts and Nevis'),
|
146 |
|
|
'KP' => $t('North Korea'),
|
147 |
|
|
'KR' => $t('South Korea'),
|
148 |
|
|
'KW' => $t('Kuwait'),
|
149 |
|
|
'KY' => $t('Cayman Islands'),
|
150 |
|
|
'KZ' => $t('Kazakhstan'),
|
151 |
|
|
'LA' => $t('Laos'),
|
152 |
|
|
'LB' => $t('Lebanon'),
|
153 |
|
|
'LC' => $t('Saint Lucia'),
|
154 |
|
|
'LI' => $t('Liechtenstein'),
|
155 |
|
|
'LK' => $t('Sri Lanka'),
|
156 |
|
|
'LR' => $t('Liberia'),
|
157 |
|
|
'LS' => $t('Lesotho'),
|
158 |
|
|
'LT' => $t('Lithuania'),
|
159 |
|
|
'LU' => $t('Luxembourg'),
|
160 |
|
|
'LV' => $t('Latvia'),
|
161 |
|
|
'LY' => $t('Libya'),
|
162 |
|
|
'MA' => $t('Morocco'),
|
163 |
|
|
'MC' => $t('Monaco'),
|
164 |
|
|
'MD' => $t('Moldova'),
|
165 |
|
|
'ME' => $t('Montenegro'),
|
166 |
|
|
'MF' => $t('Saint Martin (French part)'),
|
167 |
|
|
'MG' => $t('Madagascar'),
|
168 |
|
|
'MH' => $t('Marshall Islands'),
|
169 |
|
|
'MK' => $t('Macedonia'),
|
170 |
|
|
'ML' => $t('Mali'),
|
171 |
|
|
'MM' => $t('Myanmar'),
|
172 |
|
|
'MN' => $t('Mongolia'),
|
173 |
|
|
'MO' => $t('Macao S.A.R., China'),
|
174 |
|
|
'MP' => $t('Northern Mariana Islands'),
|
175 |
|
|
'MQ' => $t('Martinique'),
|
176 |
|
|
'MR' => $t('Mauritania'),
|
177 |
|
|
'MS' => $t('Montserrat'),
|
178 |
|
|
'MT' => $t('Malta'),
|
179 |
|
|
'MU' => $t('Mauritius'),
|
180 |
|
|
'MV' => $t('Maldives'),
|
181 |
|
|
'MW' => $t('Malawi'),
|
182 |
|
|
'MX' => $t('Mexico'),
|
183 |
|
|
'MY' => $t('Malaysia'),
|
184 |
|
|
'MZ' => $t('Mozambique'),
|
185 |
|
|
'NA' => $t('Namibia'),
|
186 |
|
|
'NC' => $t('New Caledonia'),
|
187 |
|
|
'NE' => $t('Niger'),
|
188 |
|
|
'NF' => $t('Norfolk Island'),
|
189 |
|
|
'NG' => $t('Nigeria'),
|
190 |
|
|
'NI' => $t('Nicaragua'),
|
191 |
|
|
'NL' => $t('Netherlands'),
|
192 |
|
|
'NO' => $t('Norway'),
|
193 |
|
|
'NP' => $t('Nepal'),
|
194 |
|
|
'NR' => $t('Nauru'),
|
195 |
|
|
'NU' => $t('Niue'),
|
196 |
|
|
'NZ' => $t('New Zealand'),
|
197 |
|
|
'OM' => $t('Oman'),
|
198 |
|
|
'PA' => $t('Panama'),
|
199 |
|
|
'PE' => $t('Peru'),
|
200 |
|
|
'PF' => $t('French Polynesia'),
|
201 |
|
|
'PG' => $t('Papua New Guinea'),
|
202 |
|
|
'PH' => $t('Philippines'),
|
203 |
|
|
'PK' => $t('Pakistan'),
|
204 |
|
|
'PL' => $t('Poland'),
|
205 |
|
|
'PM' => $t('Saint Pierre and Miquelon'),
|
206 |
|
|
'PN' => $t('Pitcairn'),
|
207 |
|
|
'PR' => $t('Puerto Rico'),
|
208 |
|
|
'PS' => $t('Palestinian Territory'),
|
209 |
|
|
'PT' => $t('Portugal'),
|
210 |
|
|
'PW' => $t('Palau'),
|
211 |
|
|
'PY' => $t('Paraguay'),
|
212 |
|
|
'QA' => $t('Qatar'),
|
213 |
|
|
'RE' => $t('Reunion'),
|
214 |
|
|
'RO' => $t('Romania'),
|
215 |
|
|
'RS' => $t('Serbia'),
|
216 |
|
|
'RU' => $t('Russia'),
|
217 |
|
|
'RW' => $t('Rwanda'),
|
218 |
|
|
'SA' => $t('Saudi Arabia'),
|
219 |
|
|
'SB' => $t('Solomon Islands'),
|
220 |
|
|
'SC' => $t('Seychelles'),
|
221 |
|
|
'SD' => $t('Sudan'),
|
222 |
|
|
'SE' => $t('Sweden'),
|
223 |
|
|
'SG' => $t('Singapore'),
|
224 |
|
|
'SH' => $t('Saint Helena'),
|
225 |
|
|
'SI' => $t('Slovenia'),
|
226 |
|
|
'SJ' => $t('Svalbard and Jan Mayen'),
|
227 |
|
|
'SK' => $t('Slovakia'),
|
228 |
|
|
'SL' => $t('Sierra Leone'),
|
229 |
|
|
'SM' => $t('San Marino'),
|
230 |
|
|
'SN' => $t('Senegal'),
|
231 |
|
|
'SO' => $t('Somalia'),
|
232 |
|
|
'SR' => $t('Suriname'),
|
233 |
|
|
'ST' => $t('Sao Tome and Principe'),
|
234 |
|
|
'SV' => $t('El Salvador'),
|
235 |
|
|
'SY' => $t('Syria'),
|
236 |
|
|
'SZ' => $t('Swaziland'),
|
237 |
|
|
'TC' => $t('Turks and Caicos Islands'),
|
238 |
|
|
'TD' => $t('Chad'),
|
239 |
|
|
'TF' => $t('French Southern Territories'),
|
240 |
|
|
'TG' => $t('Togo'),
|
241 |
|
|
'TH' => $t('Thailand'),
|
242 |
|
|
'TJ' => $t('Tajikistan'),
|
243 |
|
|
'TK' => $t('Tokelau'),
|
244 |
|
|
'TL' => $t('Timor-Leste'),
|
245 |
|
|
'TM' => $t('Turkmenistan'),
|
246 |
|
|
'TN' => $t('Tunisia'),
|
247 |
|
|
'TO' => $t('Tonga'),
|
248 |
|
|
'TR' => $t('Turkey'),
|
249 |
|
|
'TT' => $t('Trinidad and Tobago'),
|
250 |
|
|
'TV' => $t('Tuvalu'),
|
251 |
|
|
'TW' => $t('Taiwan'),
|
252 |
|
|
'TZ' => $t('Tanzania'),
|
253 |
|
|
'UA' => $t('Ukraine'),
|
254 |
|
|
'UG' => $t('Uganda'),
|
255 |
|
|
'UM' => $t('United States Minor Outlying Islands'),
|
256 |
|
|
'US' => $t('United States'),
|
257 |
|
|
'UY' => $t('Uruguay'),
|
258 |
|
|
'UZ' => $t('Uzbekistan'),
|
259 |
|
|
'VA' => $t('Vatican'),
|
260 |
|
|
'VC' => $t('Saint Vincent and the Grenadines'),
|
261 |
|
|
'VE' => $t('Venezuela'),
|
262 |
|
|
'VG' => $t('British Virgin Islands'),
|
263 |
|
|
'VI' => $t('U.S. Virgin Islands'),
|
264 |
|
|
'VN' => $t('Vietnam'),
|
265 |
|
|
'VU' => $t('Vanuatu'),
|
266 |
|
|
'WF' => $t('Wallis and Futuna'),
|
267 |
|
|
'WS' => $t('Samoa'),
|
268 |
|
|
'YE' => $t('Yemen'),
|
269 |
|
|
'YT' => $t('Mayotte'),
|
270 |
|
|
'ZA' => $t('South Africa'),
|
271 |
|
|
'ZM' => $t('Zambia'),
|
272 |
|
|
'ZW' => $t('Zimbabwe'),
|
273 |
|
|
);
|
274 |
|
|
|
275 |
|
|
// Sort the list.
|
276 |
|
|
natcasesort($countries);
|
277 |
|
|
|
278 |
|
|
return $countries;
|
279 |
|
|
}
|
280 |
|
|
|
281 |
|
|
/**
|
282 |
|
|
* @ingroup locale-api-predefined List of predefined languages
|
283 |
|
|
* @{
|
284 |
|
|
*/
|
285 |
|
|
|
286 |
|
|
/**
|
287 |
|
|
* Some of the common languages with their English and native names
|
288 |
|
|
*
|
289 |
|
|
* Based on ISO 639 and http://people.w3.org/rishida/names/languages.html
|
290 |
|
|
*/
|
291 |
|
|
function _locale_get_predefined_list() {
|
292 |
|
|
return array(
|
293 |
|
|
'aa' => array('Afar'),
|
294 |
|
|
'ab' => array('Abkhazian', 'аҧсуа бызшәа'),
|
295 |
|
|
'ae' => array('Avestan'),
|
296 |
|
|
'af' => array('Afrikaans'),
|
297 |
|
|
'ak' => array('Akan'),
|
298 |
|
|
'am' => array('Amharic', 'አማርኛ'),
|
299 |
|
|
'ar' => array('Arabic', /* Left-to-right marker "" */ 'العربية', LANGUAGE_RTL),
|
300 |
|
|
'as' => array('Assamese'),
|
301 |
|
|
'ast' => array('Asturian'),
|
302 |
|
|
'av' => array('Avar'),
|
303 |
|
|
'ay' => array('Aymara'),
|
304 |
|
|
'az' => array('Azerbaijani', 'azərbaycan'),
|
305 |
|
|
'ba' => array('Bashkir'),
|
306 |
|
|
'be' => array('Belarusian', 'Беларуская'),
|
307 |
|
|
'bg' => array('Bulgarian', 'Български'),
|
308 |
|
|
'bh' => array('Bihari'),
|
309 |
|
|
'bi' => array('Bislama'),
|
310 |
|
|
'bm' => array('Bambara', 'Bamanankan'),
|
311 |
|
|
'bn' => array('Bengali'),
|
312 |
|
|
'bo' => array('Tibetan'),
|
313 |
|
|
'br' => array('Breton'),
|
314 |
|
|
'bs' => array('Bosnian', 'Bosanski'),
|
315 |
|
|
'ca' => array('Catalan', 'Català'),
|
316 |
|
|
'ce' => array('Chechen'),
|
317 |
|
|
'ch' => array('Chamorro'),
|
318 |
|
|
'co' => array('Corsican'),
|
319 |
|
|
'cr' => array('Cree'),
|
320 |
|
|
'cs' => array('Czech', 'Čeština'),
|
321 |
|
|
'cu' => array('Old Slavonic'),
|
322 |
|
|
'cv' => array('Chuvash'),
|
323 |
|
|
'cy' => array('Welsh', 'Cymraeg'),
|
324 |
|
|
'da' => array('Danish', 'Dansk'),
|
325 |
|
|
'de' => array('German', 'Deutsch'),
|
326 |
|
|
'dv' => array('Maldivian'),
|
327 |
|
|
'dz' => array('Bhutani'),
|
328 |
|
|
'ee' => array('Ewe', 'Ɛʋɛ'),
|
329 |
|
|
'el' => array('Greek', 'Ελληνικά'),
|
330 |
|
|
'en' => array('English'),
|
331 |
|
|
'en-gb' => array('English, British'),
|
332 |
|
|
'eo' => array('Esperanto'),
|
333 |
|
|
'es' => array('Spanish', 'Español'),
|
334 |
|
|
'et' => array('Estonian', 'Eesti'),
|
335 |
|
|
'eu' => array('Basque', 'Euskera'),
|
336 |
|
|
'fa' => array('Persian', /* Left-to-right marker "" */ 'فارسی', LANGUAGE_RTL),
|
337 |
|
|
'ff' => array('Fulah', 'Fulfulde'),
|
338 |
|
|
'fi' => array('Finnish', 'Suomi'),
|
339 |
|
|
'fil' => array('Filipino'),
|
340 |
|
|
'fj' => array('Fiji'),
|
341 |
|
|
'fo' => array('Faeroese'),
|
342 |
|
|
'fr' => array('French', 'Français'),
|
343 |
|
|
'fy' => array('Frisian', 'Frysk'),
|
344 |
|
|
'ga' => array('Irish', 'Gaeilge'),
|
345 |
|
|
'gd' => array('Scots Gaelic'),
|
346 |
|
|
'gl' => array('Galician', 'Galego'),
|
347 |
|
|
'gn' => array('Guarani'),
|
348 |
|
|
'gsw-berne' => array('Swiss German'),
|
349 |
|
|
'gu' => array('Gujarati'),
|
350 |
|
|
'gv' => array('Manx'),
|
351 |
|
|
'ha' => array('Hausa'),
|
352 |
|
|
'he' => array('Hebrew', /* Left-to-right marker "" */ 'עברית', LANGUAGE_RTL),
|
353 |
|
|
'hi' => array('Hindi', 'हिन्दी'),
|
354 |
|
|
'ho' => array('Hiri Motu'),
|
355 |
|
|
'hr' => array('Croatian', 'Hrvatski'),
|
356 |
|
|
'ht' => array('Haitian Creole'),
|
357 |
|
|
'hu' => array('Hungarian', 'Magyar'),
|
358 |
|
|
'hy' => array('Armenian', 'Հայերեն'),
|
359 |
|
|
'hz' => array('Herero'),
|
360 |
|
|
'ia' => array('Interlingua'),
|
361 |
|
|
'id' => array('Indonesian', 'Bahasa Indonesia'),
|
362 |
|
|
'ie' => array('Interlingue'),
|
363 |
|
|
'ig' => array('Igbo'),
|
364 |
|
|
'ik' => array('Inupiak'),
|
365 |
|
|
'is' => array('Icelandic', 'Íslenska'),
|
366 |
|
|
'it' => array('Italian', 'Italiano'),
|
367 |
|
|
'iu' => array('Inuktitut'),
|
368 |
|
|
'ja' => array('Japanese', '日本語'),
|
369 |
|
|
'jv' => array('Javanese'),
|
370 |
|
|
'ka' => array('Georgian'),
|
371 |
|
|
'kg' => array('Kongo'),
|
372 |
|
|
'ki' => array('Kikuyu'),
|
373 |
|
|
'kj' => array('Kwanyama'),
|
374 |
|
|
'kk' => array('Kazakh', 'Қазақ'),
|
375 |
|
|
'kl' => array('Greenlandic'),
|
376 |
|
|
'km' => array('Cambodian'),
|
377 |
|
|
'kn' => array('Kannada', 'ಕನ್ನಡ'),
|
378 |
|
|
'ko' => array('Korean', '한국어'),
|
379 |
|
|
'kr' => array('Kanuri'),
|
380 |
|
|
'ks' => array('Kashmiri'),
|
381 |
|
|
'ku' => array('Kurdish', 'Kurdî'),
|
382 |
|
|
'kv' => array('Komi'),
|
383 |
|
|
'kw' => array('Cornish'),
|
384 |
|
|
'ky' => array('Kyrgyz', 'Кыргызча'),
|
385 |
|
|
'la' => array('Latin', 'Latina'),
|
386 |
|
|
'lb' => array('Luxembourgish'),
|
387 |
|
|
'lg' => array('Luganda'),
|
388 |
|
|
'ln' => array('Lingala'),
|
389 |
|
|
'lo' => array('Laothian'),
|
390 |
|
|
'lt' => array('Lithuanian', 'Lietuvių'),
|
391 |
|
|
'lv' => array('Latvian', 'Latviešu'),
|
392 |
|
|
'mg' => array('Malagasy'),
|
393 |
|
|
'mh' => array('Marshallese'),
|
394 |
|
|
'mi' => array('Māori'),
|
395 |
|
|
'mk' => array('Macedonian', 'Македонски'),
|
396 |
|
|
'ml' => array('Malayalam', 'മലയാളം'),
|
397 |
|
|
'mn' => array('Mongolian'),
|
398 |
|
|
'mo' => array('Moldavian'),
|
399 |
|
|
'mr' => array('Marathi'),
|
400 |
|
|
'ms' => array('Malay', 'Bahasa Melayu'),
|
401 |
|
|
'mt' => array('Maltese', 'Malti'),
|
402 |
|
|
'my' => array('Burmese'),
|
403 |
|
|
'na' => array('Nauru'),
|
404 |
|
|
'nd' => array('North Ndebele'),
|
405 |
|
|
'ne' => array('Nepali'),
|
406 |
|
|
'ng' => array('Ndonga'),
|
407 |
|
|
'nl' => array('Dutch', 'Nederlands'),
|
408 |
|
|
'nb' => array('Norwegian Bokmål', 'Bokmål'),
|
409 |
|
|
'nn' => array('Norwegian Nynorsk', 'Nynorsk'),
|
410 |
|
|
'nr' => array('South Ndebele'),
|
411 |
|
|
'nv' => array('Navajo'),
|
412 |
|
|
'ny' => array('Chichewa'),
|
413 |
|
|
'oc' => array('Occitan'),
|
414 |
|
|
'om' => array('Oromo'),
|
415 |
|
|
'or' => array('Oriya'),
|
416 |
|
|
'os' => array('Ossetian'),
|
417 |
|
|
'pa' => array('Punjabi'),
|
418 |
|
|
'pi' => array('Pali'),
|
419 |
|
|
'pl' => array('Polish', 'Polski'),
|
420 |
|
|
'ps' => array('Pashto', /* Left-to-right marker "" */ 'پښتو', LANGUAGE_RTL),
|
421 |
|
|
'pt' => array('Portuguese, International'),
|
422 |
|
|
'pt-pt' => array('Portuguese, Portugal', 'Português'),
|
423 |
|
|
'pt-br' => array('Portuguese, Brazil', 'Português'),
|
424 |
|
|
'qu' => array('Quechua'),
|
425 |
|
|
'rm' => array('Rhaeto-Romance'),
|
426 |
|
|
'rn' => array('Kirundi'),
|
427 |
|
|
'ro' => array('Romanian', 'Română'),
|
428 |
|
|
'ru' => array('Russian', 'Русский'),
|
429 |
|
|
'rw' => array('Kinyarwanda'),
|
430 |
|
|
'sa' => array('Sanskrit'),
|
431 |
|
|
'sc' => array('Sardinian'),
|
432 |
|
|
'sco' => array('Scots'),
|
433 |
|
|
'sd' => array('Sindhi'),
|
434 |
|
|
'se' => array('Northern Sami'),
|
435 |
|
|
'sg' => array('Sango'),
|
436 |
|
|
'sh' => array('Serbo-Croatian'),
|
437 |
|
|
'si' => array('Sinhala', 'සිංහල'),
|
438 |
|
|
'sk' => array('Slovak', 'Slovenčina'),
|
439 |
|
|
'sl' => array('Slovenian', 'Slovenščina'),
|
440 |
|
|
'sm' => array('Samoan'),
|
441 |
|
|
'sn' => array('Shona'),
|
442 |
|
|
'so' => array('Somali'),
|
443 |
|
|
'sq' => array('Albanian', 'Shqip'),
|
444 |
|
|
'sr' => array('Serbian', 'Српски'),
|
445 |
|
|
'ss' => array('Siswati'),
|
446 |
|
|
'st' => array('Sesotho'),
|
447 |
|
|
'su' => array('Sudanese'),
|
448 |
|
|
'sv' => array('Swedish', 'Svenska'),
|
449 |
|
|
'sw' => array('Swahili', 'Kiswahili'),
|
450 |
|
|
'ta' => array('Tamil', 'தமிழ்'),
|
451 |
|
|
'te' => array('Telugu', 'తెలుగు'),
|
452 |
|
|
'tg' => array('Tajik'),
|
453 |
|
|
'th' => array('Thai', 'ภาษาไทย'),
|
454 |
|
|
'ti' => array('Tigrinya'),
|
455 |
|
|
'tk' => array('Turkmen'),
|
456 |
|
|
'tl' => array('Tagalog'),
|
457 |
|
|
'tn' => array('Setswana'),
|
458 |
|
|
'to' => array('Tonga'),
|
459 |
|
|
'tr' => array('Turkish', 'Türkçe'),
|
460 |
|
|
'ts' => array('Tsonga'),
|
461 |
|
|
'tt' => array('Tatar', 'Tatarça'),
|
462 |
|
|
'tw' => array('Twi'),
|
463 |
|
|
'ty' => array('Tahitian'),
|
464 |
|
|
'ug' => array('Uyghur'),
|
465 |
|
|
'uk' => array('Ukrainian', 'Українська'),
|
466 |
|
|
'ur' => array('Urdu', /* Left-to-right marker "" */ 'اردو', LANGUAGE_RTL),
|
467 |
|
|
'uz' => array('Uzbek', "o'zbek"),
|
468 |
|
|
've' => array('Venda'),
|
469 |
|
|
'vi' => array('Vietnamese', 'Tiếng Việt'),
|
470 |
|
|
'wo' => array('Wolof'),
|
471 |
|
|
'xh' => array('Xhosa', 'isiXhosa'),
|
472 |
|
|
'xx-lolspeak' => array('Lolspeak'),
|
473 |
|
|
'yi' => array('Yiddish'),
|
474 |
|
|
'yo' => array('Yoruba', 'Yorùbá'),
|
475 |
|
|
'za' => array('Zhuang'),
|
476 |
|
|
'zh-hans' => array('Chinese, Simplified', '简体中文'),
|
477 |
|
|
'zh-hant' => array('Chinese, Traditional', '繁體中文'),
|
478 |
|
|
'zu' => array('Zulu', 'isiZulu'),
|
479 |
|
|
);
|
480 |
|
|
}
|
481 |
|
|
/**
|
482 |
|
|
* @} End of "locale-api-languages-predefined"
|
483 |
|
|
*/ |