PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 7.2.4
Jetpack – WP Security, Backup, Speed, & Growth v7.2.4
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / locales.php
locales.php
2,404 lines 67.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! class_exists( 'GP_Locale' ) ) :
4
5 class GP_Locale {
6 public $english_name;
7 public $native_name;
8 public $text_direction = 'ltr';
9 public $lang_code_iso_639_1 = null;
10 public $lang_code_iso_639_2 = null;
11 public $lang_code_iso_639_3 = null;
12 public $country_code;
13 public $wp_locale;
14 public $slug;
15 public $nplurals = 2;
16 public $plural_expression = 'n != 1';
17 public $google_code = null;
18 public $preferred_sans_serif_font_family = null;
19 public $facebook_locale = null;
20 // TODO: days, months, decimals, quotes
21
22 private $_index_for_number;
23
24 public function __construct( $args = array() ) {
25 foreach( $args as $key => $value ) {
26 $this->$key = $value;
27 }
28 }
29
30 public static function __set_state( $state ) {
31 return new GP_Locale( $state );
32 }
33
34 /**
35 * Make deprecated properties checkable for backwards compatibility.
36 *
37 * @param string $name Property to check if set.
38 * @return bool Whether the property is set.
39 */
40 public function __isset( $name ) {
41 if ( 'rtl' == $name ) {
42 return isset( $this->text_direction );
43 }
44 }
45
46 /**
47 * Make deprecated properties readable for backwards compatibility.
48 *
49 * @param string $name Property to get.
50 * @return mixed Property.
51 */
52 public function __get( $name ) {
53 if ( 'rtl' == $name ) {
54 return ( 'rtl' === $this->text_direction );
55 }
56 }
57
58 public function combined_name() {
59 /* translators: combined name for locales: 1: name in English, 2: native name */
60 return sprintf( _x( '%1$s/%2$s', 'locales', 'jetpack' ), $this->english_name, $this->native_name );
61 }
62
63 public function numbers_for_index( $index, $how_many = 3, $test_up_to = 1000 ) {
64 $numbers = array();
65
66 for( $number = 0; $number < $test_up_to; ++$number ) {
67 if ( $this->index_for_number( $number ) == $index ) {
68 $numbers[] = $number;
69
70 if ( count( $numbers ) >= $how_many ) {
71 break;
72 }
73 }
74 }
75
76 return $numbers;
77 }
78
79 public function index_for_number( $number ) {
80 if ( ! isset( $this->_index_for_number ) ) {
81 $gettext = new Gettext_Translations;
82 $expression = $gettext->parenthesize_plural_exression( $this->plural_expression );
83 $this->_index_for_number = $gettext->make_plural_form_function( $this->nplurals, $expression );
84 }
85
86 $f = $this->_index_for_number;
87
88 return $f( $number );
89 }
90
91 }
92
93 endif;
94
95 if ( ! class_exists( 'GP_Locales' ) ) :
96
97 class GP_Locales {
98
99 public $locales = array();
100
101 public function __construct() {
102 $aa = new GP_Locale();
103 $aa->english_name = 'Afar';
104 $aa->native_name = 'Afaraf';
105 $aa->lang_code_iso_639_1 = 'aa';
106 $aa->lang_code_iso_639_2 = 'aar';
107 $aa->slug = 'aa';
108
109 $ae = new GP_Locale();
110 $ae->english_name = 'Avestan';
111 $ae->native_name = 'Avesta';
112 $ae->lang_code_iso_639_1 = 'ae';
113 $ae->lang_code_iso_639_2 = 'ave';
114 $ae->slug = 'ae';
115
116 $af = new GP_Locale();
117 $af->english_name = 'Afrikaans';
118 $af->native_name = 'Afrikaans';
119 $af->lang_code_iso_639_1 = 'af';
120 $af->lang_code_iso_639_2 = 'afr';
121 $af->country_code = 'za';
122 $af->wp_locale = 'af';
123 $af->slug = 'af';
124 $af->google_code = 'af';
125 $af->facebook_locale = 'af_ZA';
126
127 $ak = new GP_Locale();
128 $ak->english_name = 'Akan';
129 $ak->native_name = 'Akan';
130 $ak->lang_code_iso_639_1 = 'ak';
131 $ak->lang_code_iso_639_2 = 'aka';
132 $ak->wp_locale = 'ak';
133 $ak->slug = 'ak';
134 $ak->facebook_locale = 'ak_GH';
135
136 $am = new GP_Locale();
137 $am->english_name = 'Amharic';
138 $am->native_name = 'አማርኛ';
139 $am->lang_code_iso_639_1 = 'am';
140 $am->lang_code_iso_639_2 = 'amh';
141 $am->country_code = 'et';
142 $am->wp_locale = 'am';
143 $am->slug = 'am';
144 $am->facebook_locale = 'am_ET';
145
146 $an = new GP_Locale();
147 $an->english_name = 'Aragonese';
148 $an->native_name = 'Aragonés';
149 $an->lang_code_iso_639_1 = 'an';
150 $an->lang_code_iso_639_2 = 'arg';
151 $an->country_code = 'es';
152 $an->slug = 'an';
153
154 $ar = new GP_Locale();
155 $ar->english_name = 'Arabic';
156 $ar->native_name = 'العربية';
157 $ar->lang_code_iso_639_1 = 'ar';
158 $ar->lang_code_iso_639_2 = 'ara';
159 $ar->wp_locale = 'ar';
160 $ar->slug = 'ar';
161 $ar->nplurals = 6;
162 $ar->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
163 $ar->text_direction = 'rtl';
164 $ar->preferred_sans_serif_font_family = 'Tahoma';
165 $ar->google_code = 'ar';
166 $ar->facebook_locale = 'ar_AR';
167
168 $arq = new GP_Locale();
169 $arq->english_name = 'Algerian Arabic';
170 $arq->native_name = 'الدارجة الجزايرية';
171 $arq->lang_code_iso_639_1 = 'ar';
172 $arq->lang_code_iso_639_3 = 'arq';
173 $arq->country_code = 'dz';
174 $arq->wp_locale = 'arq';
175 $arq->slug = 'arq';
176 $arq->nplurals = 6;
177 $arq->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
178 $arq->text_direction = 'rtl';
179
180 $ary = new GP_Locale();
181 $ary->english_name = 'Moroccan Arabic';
182 $ary->native_name = 'العربية ال�
183 غربية';
184 $ary->lang_code_iso_639_1 = 'ar';
185 $ary->lang_code_iso_639_3 = 'ary';
186 $ary->country_code = 'ma';
187 $ary->wp_locale = 'ary';
188 $ary->slug = 'ary';
189 $ary->nplurals = 6;
190 $ary->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
191 $ary->text_direction = 'rtl';
192
193 $as = new GP_Locale();
194 $as->english_name = 'Assamese';
195 $as->native_name = '�
196 সমীয়া';
197 $as->lang_code_iso_639_1 = 'as';
198 $as->lang_code_iso_639_2 = 'asm';
199 $as->lang_code_iso_639_3 = 'asm';
200 $as->country_code = 'in';
201 $as->wp_locale = 'as';
202 $as->slug = 'as';
203 $as->facebook_locale = 'as_IN';
204
205 $ast = new GP_Locale();
206 $ast->english_name = 'Asturian';
207 $ast->native_name = 'Asturianu';
208 $ast->lang_code_iso_639_2 = 'ast';
209 $ast->lang_code_iso_639_3 = 'ast';
210 $ast->country_code = 'es';
211 $ast->wp_locale = 'ast';
212 $ast->slug = 'ast';
213
214 $av = new GP_Locale();
215 $av->english_name = 'Avaric';
216 $av->native_name = 'авар мацӀ';
217 $av->lang_code_iso_639_1 = 'av';
218 $av->lang_code_iso_639_2 = 'ava';
219 $av->slug = 'av';
220
221 $ay = new GP_Locale();
222 $ay->english_name = 'Aymara';
223 $ay->native_name = 'aymar aru';
224 $ay->lang_code_iso_639_1 = 'ay';
225 $ay->lang_code_iso_639_2 = 'aym';
226 $ay->slug = 'ay';
227 $ay->nplurals = 1;
228 $ay->plural_expression = '0';
229 $ay->facebook_locale = 'ay_BO';
230
231 $az = new GP_Locale();
232 $az->english_name = 'Azerbaijani';
233 $az->native_name = 'Azərbaycan dili';
234 $az->lang_code_iso_639_1 = 'az';
235 $az->lang_code_iso_639_2 = 'aze';
236 $az->country_code = 'az';
237 $az->wp_locale = 'az';
238 $az->slug = 'az';
239 $az->google_code = 'az';
240 $az->facebook_locale = 'az_AZ';
241
242 $azb = new GP_Locale();
243 $azb->english_name = 'South Azerbaijani';
244 $azb->native_name = 'گؤنئی آذربایجان';
245 $azb->lang_code_iso_639_1 = 'az';
246 $azb->lang_code_iso_639_3 = 'azb';
247 $azb->country_code = 'ir';
248 $azb->wp_locale = 'azb';
249 $azb->slug = 'azb';
250 $azb->text_direction = 'rtl';
251
252 $az_tr = new GP_Locale();
253 $az_tr->english_name = 'Azerbaijani (Turkey)';
254 $az_tr->native_name = 'Azərbaycan Türkcəsi';
255 $az_tr->lang_code_iso_639_1 = 'az';
256 $az_tr->lang_code_iso_639_2 = 'aze';
257 $az_tr->country_code = 'tr';
258 $az_tr->wp_locale = 'az_TR';
259 $az_tr->slug = 'az-tr';
260
261 $ba = new GP_Locale();
262 $ba->english_name = 'Bashkir';
263 $ba->native_name = 'башҡорт теле';
264 $ba->lang_code_iso_639_1 = 'ba';
265 $ba->lang_code_iso_639_2 = 'bak';
266 $ba->wp_locale = 'ba';
267 $ba->slug = 'ba';
268
269 $bal = new GP_Locale();
270 $bal->english_name = 'Catalan (Balear)';
271 $bal->native_name = 'Català (Balear)';
272 $bal->lang_code_iso_639_2 = 'bal';
273 $bal->country_code = 'es';
274 $bal->wp_locale = 'bal';
275 $bal->slug = 'bal';
276
277 $bcc = new GP_Locale();
278 $bcc->english_name = 'Balochi Southern';
279 $bcc->native_name = 'بلوچی �
280 کرانی';
281 $bcc->lang_code_iso_639_3 = 'bcc';
282 $bcc->country_code = 'pk';
283 $bcc->wp_locale = 'bcc';
284 $bcc->slug = 'bcc';
285 $bcc->nplurals = 1;
286 $bcc->plural_expression = '0';
287 $bcc->text_direction = 'rtl';
288
289 $be = new GP_Locale();
290 $be->english_name = 'Belarusian';
291 $be->native_name = 'Беларуская мова';
292 $be->lang_code_iso_639_1 = 'be';
293 $be->lang_code_iso_639_2 = 'bel';
294 $be->country_code = 'by';
295 $be->wp_locale = 'bel';
296 $be->slug = 'bel';
297 $be->nplurals = 3;
298 $be->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
299 $be->google_code = 'be';
300 $be->facebook_locale = 'be_BY';
301
302 $bg = new GP_Locale();
303 $bg->english_name = 'Bulgarian';
304 $bg->native_name = 'Български';
305 $bg->lang_code_iso_639_1 = 'bg';
306 $bg->lang_code_iso_639_2 = 'bul';
307 $bg->country_code = 'bg';
308 $bg->wp_locale = 'bg_BG';
309 $bg->slug = 'bg';
310 $bg->google_code = 'bg';
311 $bg->facebook_locale = 'bg_BG';
312
313 $bh = new GP_Locale();
314 $bh->english_name = 'Bihari';
315 $bh->native_name = 'भोजपुरी';
316 $bh->lang_code_iso_639_1 = 'bh';
317 $bh->lang_code_iso_639_2 = 'bih';
318 $bh->slug = 'bh';
319
320 $bi = new GP_Locale();
321 $bi->english_name = 'Bislama';
322 $bi->native_name = 'Bislama';
323 $bi->lang_code_iso_639_1 = 'bi';
324 $bi->lang_code_iso_639_2 = 'bis';
325 $bi->country_code = 'vu';
326 $bi->slug = 'bi';
327
328 $bm = new GP_Locale();
329 $bm->english_name = 'Bambara';
330 $bm->native_name = 'Bamanankan';
331 $bm->lang_code_iso_639_1 = 'bm';
332 $bm->lang_code_iso_639_2 = 'bam';
333 $bm->slug = 'bm';
334
335 $bn_bd = new GP_Locale();
336 $bn_bd->english_name = 'Bengali';
337 $bn_bd->native_name = 'বাংলা';
338 $bn_bd->lang_code_iso_639_1 = 'bn';
339 $bn_bd->country_code = 'bn';
340 $bn_bd->wp_locale = 'bn_BD';
341 $bn_bd->slug = 'bn';
342 $bn_bd->google_code = 'bn';
343 $bn_bd->facebook_locale = 'bn_IN';
344
345 $bo = new GP_Locale();
346 $bo->english_name = 'Tibetan';
347 $bo->native_name = 'བོད་ཡིག';
348 $bo->lang_code_iso_639_1 = 'bo';
349 $bo->lang_code_iso_639_2 = 'tib';
350 $bo->wp_locale = 'bo';
351 $bo->slug = 'bo';
352 $bo->nplurals = 1;
353 $bo->plural_expression = '0';
354
355 $br = new GP_Locale();
356 $br->english_name = 'Breton';
357 $br->native_name = 'Brezhoneg';
358 $br->lang_code_iso_639_1 = 'br';
359 $br->lang_code_iso_639_2 = 'bre';
360 $br->lang_code_iso_639_3 = 'bre';
361 $br->country_code = 'fr';
362 $br->wp_locale = 'bre';
363 $br->slug = 'br';
364 $br->nplurals = 2;
365 $br->plural_expression = '(n > 1)';
366 $br->facebook_locale = 'br_FR';
367
368 $bs = new GP_Locale();
369 $bs->english_name = 'Bosnian';
370 $bs->native_name = 'Bosanski';
371 $bs->lang_code_iso_639_1 = 'bs';
372 $bs->lang_code_iso_639_2 = 'bos';
373 $bs->country_code = 'ba';
374 $bs->wp_locale = 'bs_BA';
375 $bs->slug = 'bs';
376 $bs->nplurals = 3;
377 $bs->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
378 $bs->google_code = 'bs';
379 $bs->facebook_locale = 'bs_BA';
380
381 $ca = new GP_Locale();
382 $ca->english_name = 'Catalan';
383 $ca->native_name = 'Català';
384 $ca->lang_code_iso_639_1 = 'ca';
385 $ca->lang_code_iso_639_2 = 'cat';
386 $ca->wp_locale = 'ca';
387 $ca->slug = 'ca';
388 $ca->google_code = 'ca';
389 $ca->facebook_locale = 'ca_ES';
390
391 $ce = new GP_Locale();
392 $ce->english_name = 'Chechen';
393 $ce->native_name = 'Но�
394 чийн мотт';
395 $ce->lang_code_iso_639_1 = 'ce';
396 $ce->lang_code_iso_639_2 = 'che';
397 $ce->slug = 'ce';
398
399 $ceb = new GP_Locale();
400 $ceb->english_name = 'Cebuano';
401 $ceb->native_name = 'Cebuano';
402 $ceb->lang_code_iso_639_2 = 'ceb';
403 $ceb->lang_code_iso_639_3 = 'ceb';
404 $ceb->country_code = 'ph';
405 $ceb->wp_locale = 'ceb';
406 $ceb->slug = 'ceb';
407 $ceb->facebook_locale = 'cx_PH';
408
409 $ch = new GP_Locale();
410 $ch->english_name = 'Chamorro';
411 $ch->native_name = 'Chamoru';
412 $ch->lang_code_iso_639_1 = 'ch';
413 $ch->lang_code_iso_639_2 = 'cha';
414 $ch->slug = 'ch';
415
416 $ckb = new GP_Locale();
417 $ckb->english_name = 'Kurdish (Sorani)';
418 $ckb->native_name = 'كوردی‎';
419 $ckb->lang_code_iso_639_1 = 'ku';
420 $ckb->lang_code_iso_639_3 = 'ckb';
421 $ckb->country_code = 'iq';
422 $ckb->wp_locale = 'ckb';
423 $ckb->slug = 'ckb';
424 $ckb->text_direction = 'rtl';
425 $ckb->facebook_locale = 'cb_IQ';
426
427 $co = new GP_Locale();
428 $co->english_name = 'Corsican';
429 $co->native_name = 'Corsu';
430 $co->lang_code_iso_639_1 = 'co';
431 $co->lang_code_iso_639_2 = 'cos';
432 $co->country_code = 'it';
433 $co->wp_locale = 'co';
434 $co->slug = 'co';
435
436 $cr = new GP_Locale();
437 $cr->english_name = 'Cree';
438 $cr->native_name = 'ᓀᐦᐃᔭᐍᐏᐣ';
439 $cr->lang_code_iso_639_1 = 'cr';
440 $cr->lang_code_iso_639_2 = 'cre';
441 $cr->country_code = 'ca';
442 $cr->slug = 'cr';
443
444 $cs = new GP_Locale();
445 $cs->english_name = 'Czech';
446 $cs->native_name = 'Čeština';
447 $cs->lang_code_iso_639_1 = 'cs';
448 $cs->lang_code_iso_639_2 = 'ces';
449 $cs->country_code = 'cz';
450 $cs->wp_locale = 'cs_CZ';
451 $cs->slug = 'cs';
452 $cs->nplurals = 3;
453 $cs->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
454 $cs->google_code = 'cs';
455 $cs->facebook_locale = 'cs_CZ';
456
457 $csb = new GP_Locale();
458 $csb->english_name = 'Kashubian';
459 $csb->native_name = 'Kaszëbsczi';
460 $csb->lang_code_iso_639_2 = 'csb';
461 $csb->slug = 'csb';
462 $csb->nplurals = 3;
463 $csb->plural_expression = 'n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2';
464
465 $cu = new GP_Locale();
466 $cu->english_name = 'Church Slavic';
467 $cu->native_name = 'ѩзыкъ словѣньскъ';
468 $cu->lang_code_iso_639_1 = 'cu';
469 $cu->lang_code_iso_639_2 = 'chu';
470 $cu->slug = 'cu';
471
472 $cv = new GP_Locale();
473 $cv->english_name = 'Chuvash';
474 $cv->native_name = 'чӑваш чӗл�
475 и';
476 $cv->lang_code_iso_639_1 = 'cv';
477 $cv->lang_code_iso_639_2 = 'chv';
478 $cv->country_code = 'ru';
479 $cv->slug = 'cv';
480
481 $cy = new GP_Locale();
482 $cy->english_name = 'Welsh';
483 $cy->native_name = 'Cymraeg';
484 $cy->lang_code_iso_639_1 = 'cy';
485 $cy->lang_code_iso_639_2 = 'cym';
486 $cy->country_code = 'gb';
487 $cy->wp_locale = 'cy';
488 $cy->slug = 'cy';
489 $cy->nplurals = 4;
490 $cy->plural_expression = '(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3';
491 $cy->google_code = 'cy';
492 $cy->facebook_locale = 'cy_GB';
493
494 $da = new GP_Locale();
495 $da->english_name = 'Danish';
496 $da->native_name = 'Dansk';
497 $da->lang_code_iso_639_1 = 'da';
498 $da->lang_code_iso_639_2 = 'dan';
499 $da->country_code = 'dk';
500 $da->wp_locale = 'da_DK';
501 $da->slug = 'da';
502 $da->google_code = 'da';
503 $da->facebook_locale = 'da_DK';
504
505 $de = new GP_Locale();
506 $de->english_name = 'German';
507 $de->native_name = 'Deutsch';
508 $de->lang_code_iso_639_1 = 'de';
509 $de->country_code = 'de';
510 $de->wp_locale = 'de_DE';
511 $de->slug = 'de';
512 $de->google_code = 'de';
513 $de->facebook_locale = 'de_DE';
514
515 $de_ch = new GP_Locale();
516 $de_ch->english_name = 'German (Switzerland)';
517 $de_ch->native_name = 'Deutsch (Schweiz)';
518 $de_ch->lang_code_iso_639_1 = 'de';
519 $de_ch->country_code = 'ch';
520 $de_ch->wp_locale = 'de_CH';
521 $de_ch->slug = 'de-ch';
522 $de_ch->google_code = 'de';
523
524 $dv = new GP_Locale();
525 $dv->english_name = 'Dhivehi';
526 $dv->native_name = 'ދިވެހި';
527 $dv->lang_code_iso_639_1 = 'dv';
528 $dv->lang_code_iso_639_2 = 'div';
529 $dv->country_code = 'mv';
530 $dv->wp_locale = 'dv';
531 $dv->slug = 'dv';
532 $dv->text_direction = 'rtl';
533
534 $dzo = new GP_Locale();
535 $dzo->english_name = 'Dzongkha';
536 $dzo->native_name = 'རྫོང་ཁ';
537 $dzo->lang_code_iso_639_1 = 'dz';
538 $dzo->lang_code_iso_639_2 = 'dzo';
539 $dzo->country_code = 'bt';
540 $dzo->wp_locale = 'dzo';
541 $dzo->slug = 'dzo';
542 $dzo->nplurals = 1;
543 $dzo->plural_expression = '0';
544
545 $ewe = new GP_Locale();
546 $ewe->english_name = 'Ewe';
547 $ewe->native_name = 'Eʋegbe';
548 $ewe->lang_code_iso_639_1 = 'ee';
549 $ewe->lang_code_iso_639_2 = 'ewe';
550 $ewe->lang_code_iso_639_3 = 'ewe';
551 $ewe->country_code = 'gh';
552 $ewe->wp_locale = 'ewe';
553 $ewe->slug = 'ee';
554
555 $el_po = new GP_Locale();
556 $el_po->english_name = 'Greek (Polytonic)';
557 $el_po->native_name = 'Greek (Polytonic)'; // TODO
558 $el_po->country_code = 'gr';
559 $el_po->slug = 'el-po';
560
561 $el = new GP_Locale();
562 $el->english_name = 'Greek';
563 $el->native_name = 'Ελληνικά';
564 $el->lang_code_iso_639_1 = 'el';
565 $el->lang_code_iso_639_2 = 'ell';
566 $el->country_code = 'gr';
567 $el->wp_locale = 'el';
568 $el->slug = 'el';
569 $el->google_code = 'el';
570 $el->facebook_locale = 'el_GR';
571
572 $emoji = new GP_Locale();
573 $emoji->english_name = 'Emoji';
574 $emoji->native_name = "\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e (Emoji)";
575 $emoji->lang_code_iso_639_2 = 'art';
576 $emoji->wp_locale = 'art_xemoji';
577 $emoji->slug = 'art-xemoji';
578 $emoji->nplurals = 1;
579 $emoji->plural_expression = '0';
580
581 $en = new GP_Locale();
582 $en->english_name = 'English';
583 $en->native_name = 'English';
584 $en->lang_code_iso_639_1 = 'en';
585 $en->country_code = 'us';
586 $en->wp_locale = 'en_US';
587 $en->slug = 'en';
588 $en->google_code = 'en';
589 $en->facebook_locale = 'en_US';
590
591 $en_au = new GP_Locale();
592 $en_au->english_name = 'English (Australia)';
593 $en_au->native_name = 'English (Australia)';
594 $en_au->lang_code_iso_639_1 = 'en';
595 $en_au->lang_code_iso_639_2 = 'eng';
596 $en_au->lang_code_iso_639_3 = 'eng';
597 $en_au->country_code = 'au';
598 $en_au->wp_locale = 'en_AU';
599 $en_au->slug = 'en-au';
600 $en_au->google_code = 'en';
601
602 $en_ca = new GP_Locale();
603 $en_ca->english_name = 'English (Canada)';
604 $en_ca->native_name = 'English (Canada)';
605 $en_ca->lang_code_iso_639_1 = 'en';
606 $en_ca->lang_code_iso_639_2 = 'eng';
607 $en_ca->lang_code_iso_639_3 = 'eng';
608 $en_ca->country_code = 'ca';
609 $en_ca->wp_locale = 'en_CA';
610 $en_ca->slug = 'en-ca';
611 $en_ca->google_code = 'en';
612
613 $en_gb = new GP_Locale();
614 $en_gb->english_name = 'English (UK)';
615 $en_gb->native_name = 'English (UK)';
616 $en_gb->lang_code_iso_639_1 = 'en';
617 $en_gb->lang_code_iso_639_2 = 'eng';
618 $en_gb->lang_code_iso_639_3 = 'eng';
619 $en_gb->country_code = 'gb';
620 $en_gb->wp_locale = 'en_GB';
621 $en_gb->slug = 'en-gb';
622 $en_gb->google_code = 'en';
623 $en_gb->facebook_locale = 'en_GB';
624
625 $en_nz = new GP_Locale();
626 $en_nz->english_name = 'English (New Zealand)';
627 $en_nz->native_name = 'English (New Zealand)';
628 $en_nz->lang_code_iso_639_1 = 'en';
629 $en_nz->lang_code_iso_639_2 = 'eng';
630 $en_nz->lang_code_iso_639_3 = 'eng';
631 $en_nz->country_code = 'nz';
632 $en_nz->wp_locale = 'en_NZ';
633 $en_nz->slug = 'en-nz';
634 $en_nz->google_code = 'en';
635
636 $en_za = new GP_Locale();
637 $en_za->english_name = 'English (South Africa)';
638 $en_za->native_name = 'English (South Africa)';
639 $en_za->lang_code_iso_639_1 = 'en';
640 $en_za->lang_code_iso_639_2 = 'eng';
641 $en_za->lang_code_iso_639_3 = 'eng';
642 $en_za->country_code = 'za';
643 $en_za->wp_locale = 'en_ZA';
644 $en_za->slug = 'en-za';
645 $en_za->google_code = 'en';
646
647 $eo = new GP_Locale();
648 $eo->english_name = 'Esperanto';
649 $eo->native_name = 'Esperanto';
650 $eo->lang_code_iso_639_1 = 'eo';
651 $eo->lang_code_iso_639_2 = 'epo';
652 $eo->wp_locale = 'eo';
653 $eo->slug = 'eo';
654 $eo->google_code = 'eo';
655 $eo->facebook_locale = 'eo_EO';
656
657 $es = new GP_Locale();
658 $es->english_name = 'Spanish (Spain)';
659 $es->native_name = 'Español';
660 $es->lang_code_iso_639_1 = 'es';
661 $es->lang_code_iso_639_2 = 'spa';
662 $es->lang_code_iso_639_3 = 'spa';
663 $es->country_code = 'es';
664 $es->wp_locale = 'es_ES';
665 $es->slug = 'es';
666 $es->google_code = 'es';
667 $es->facebook_locale = 'es_ES';
668
669 $es_ar = new GP_Locale();
670 $es_ar->english_name = 'Spanish (Argentina)';
671 $es_ar->native_name = 'Español de Argentina';
672 $es_ar->lang_code_iso_639_1 = 'es';
673 $es_ar->lang_code_iso_639_2 = 'spa';
674 $es_ar->lang_code_iso_639_3 = 'spa';
675 $es_ar->country_code = 'ar';
676 $es_ar->wp_locale = 'es_AR';
677 $es_ar->slug = 'es-ar';
678 $es_ar->google_code = 'es';
679 $es_ar->facebook_locale = 'es_LA';
680
681 $es_cl = new GP_Locale();
682 $es_cl->english_name = 'Spanish (Chile)';
683 $es_cl->native_name = 'Español de Chile';
684 $es_cl->lang_code_iso_639_1 = 'es';
685 $es_cl->lang_code_iso_639_2 = 'spa';
686 $es_cl->lang_code_iso_639_3 = 'spa';
687 $es_cl->country_code = 'cl';
688 $es_cl->wp_locale = 'es_CL';
689 $es_cl->slug = 'es-cl';
690 $es_cl->google_code = 'es';
691 $es_cl->facebook_locale = 'es_CL';
692
693 $es_co = new GP_Locale();
694 $es_co->english_name = 'Spanish (Colombia)';
695 $es_co->native_name = 'Español de Colombia';
696 $es_co->lang_code_iso_639_1 = 'es';
697 $es_co->lang_code_iso_639_2 = 'spa';
698 $es_co->lang_code_iso_639_3 = 'spa';
699 $es_co->country_code = 'co';
700 $es_co->wp_locale = 'es_CO';
701 $es_co->slug = 'es-co';
702 $es_co->google_code = 'es';
703 $es_co->facebook_locale = 'es_CO';
704
705 $es_cr = new GP_Locale();
706 $es_cr->english_name = 'Spanish (Costa Rica)';
707 $es_cr->native_name = 'Español de Costa Rica';
708 $es_cr->lang_code_iso_639_1 = 'es';
709 $es_cr->lang_code_iso_639_2 = 'spa';
710 $es_cr->lang_code_iso_639_3 = 'spa';
711 $es_cr->country_code = 'cr';
712 $es_cr->wp_locale = 'es_CR';
713 $es_cr->slug = 'es-cr';
714
715 $es_gt = new GP_Locale();
716 $es_gt->english_name = 'Spanish (Guatemala)';
717 $es_gt->native_name = 'Español de Guatemala';
718 $es_gt->lang_code_iso_639_1 = 'es';
719 $es_gt->lang_code_iso_639_2 = 'spa';
720 $es_gt->lang_code_iso_639_3 = 'spa';
721 $es_gt->country_code = 'gt';
722 $es_gt->wp_locale = 'es_GT';
723 $es_gt->slug = 'es-gt';
724 $es_gt->google_code = 'es';
725 $es_gt->facebook_locale = 'es_LA';
726
727 $es_mx = new GP_Locale();
728 $es_mx->english_name = 'Spanish (Mexico)';
729 $es_mx->native_name = 'Español de México';
730 $es_mx->lang_code_iso_639_1 = 'es';
731 $es_mx->lang_code_iso_639_2 = 'spa';
732 $es_mx->lang_code_iso_639_3 = 'spa';
733 $es_mx->country_code = 'mx';
734 $es_mx->wp_locale = 'es_MX';
735 $es_mx->slug = 'es-mx';
736 $es_mx->google_code = 'es';
737 $es_mx->facebook_locale = 'es_MX';
738
739 $es_pe = new GP_Locale();
740 $es_pe->english_name = 'Spanish (Peru)';
741 $es_pe->native_name = 'Español de Perú';
742 $es_pe->lang_code_iso_639_1 = 'es';
743 $es_pe->lang_code_iso_639_2 = 'spa';
744 $es_pe->lang_code_iso_639_3 = 'spa';
745 $es_pe->country_code = 'pe';
746 $es_pe->wp_locale = 'es_PE';
747 $es_pe->slug = 'es-pe';
748 $es_pe->google_code = 'es';
749 $es_pe->facebook_locale = 'es_LA';
750
751 $es_pr = new GP_Locale();
752 $es_pr->english_name = 'Spanish (Puerto Rico)';
753 $es_pr->native_name = 'Español de Puerto Rico';
754 $es_pr->lang_code_iso_639_1 = 'es';
755 $es_pr->lang_code_iso_639_2 = 'spa';
756 $es_pr->lang_code_iso_639_3 = 'spa';
757 $es_pr->country_code = 'pr';
758 $es_pr->wp_locale = 'es_PR';
759 $es_pr->slug = 'es-pr';
760 $es_pr->google_code = 'es';
761 $es_pr->facebook_locale = 'es_LA';
762
763 $es_us = new GP_Locale();
764 $es_us->english_name = 'Spanish (US)';
765 $es_us->native_name = 'Español de los Estados Unidos';
766 $es_us->lang_code_iso_639_1 = 'es';
767 $es_us->lang_code_iso_639_2 = 'spa';
768 $es_us->lang_code_iso_639_3 = 'spa';
769 $es_us->country_code = 'us';
770 $es_us->slug = 'es-us';
771
772 $es_ve = new GP_Locale();
773 $es_ve->english_name = 'Spanish (Venezuela)';
774 $es_ve->native_name = 'Español de Venezuela';
775 $es_ve->lang_code_iso_639_1 = 'es';
776 $es_ve->lang_code_iso_639_2 = 'spa';
777 $es_ve->lang_code_iso_639_3 = 'spa';
778 $es_ve->country_code = 've';
779 $es_ve->wp_locale = 'es_VE';
780 $es_ve->slug = 'es-ve';
781 $es_ve->google_code = 'es';
782 $es_ve->facebook_locale = 'es_VE';
783
784 $et = new GP_Locale();
785 $et->english_name = 'Estonian';
786 $et->native_name = 'Eesti';
787 $et->lang_code_iso_639_1 = 'et';
788 $et->lang_code_iso_639_2 = 'est';
789 $et->country_code = 'ee';
790 $et->wp_locale = 'et';
791 $et->slug = 'et';
792 $et->google_code = 'et';
793 $et->facebook_locale = 'et_EE';
794
795 $eu = new GP_Locale();
796 $eu->english_name = 'Basque';
797 $eu->native_name = 'Euskara';
798 $eu->lang_code_iso_639_1 = 'eu';
799 $eu->lang_code_iso_639_2 = 'eus';
800 $eu->country_code = 'es';
801 $eu->wp_locale = 'eu';
802 $eu->slug = 'eu';
803 $eu->google_code = 'eu';
804 $eu->facebook_locale = 'eu_ES';
805
806 $fa = new GP_Locale();
807 $fa->english_name = 'Persian';
808 $fa->native_name = 'فارسی';
809 $fa->lang_code_iso_639_1 = 'fa';
810 $fa->lang_code_iso_639_2 = 'fas';
811 $fa->wp_locale = 'fa_IR';
812 $fa->slug = 'fa';
813 $fa->nplurals = 1;
814 $fa->plural_expression = '0';
815 $fa->text_direction = 'rtl';
816 $fa->google_code = 'fa';
817 $fa->facebook_locale = 'fa_IR';
818
819 $fa_af = new GP_Locale();
820 $fa_af->english_name = 'Persian (Afghanistan)';
821 $fa_af->native_name = '(فارسی (افغانستان';
822 $fa_af->lang_code_iso_639_1 = 'fa';
823 $fa_af->lang_code_iso_639_2 = 'fas';
824 $fa_af->wp_locale = 'fa_AF';
825 $fa_af->slug = 'fa-af';
826 $fa_af->nplurals = 1;
827 $fa_af->plural_expression = '0';
828 $fa_af->text_direction = 'rtl';
829 $fa_af->google_code = 'fa';
830
831 $ff_sn = new GP_Locale();
832 $ff_sn->english_name = 'Fulah';
833 $ff_sn->native_name = 'Pulaar';
834 $ff_sn->lang_code_iso_639_1 = 'ff';
835 $ff_sn->lang_code_iso_639_2 = 'fuc';
836 $ff_sn->country_code = 'sn';
837 $ff_sn->wp_locale = 'fuc';
838 $ff_sn->slug = 'fuc';
839 $ff_sn->plural_expression = 'n!=1';
840
841 $fi = new GP_Locale();
842 $fi->english_name = 'Finnish';
843 $fi->native_name = 'Suomi';
844 $fi->lang_code_iso_639_1 = 'fi';
845 $fi->lang_code_iso_639_2 = 'fin';
846 $fi->country_code = 'fi';
847 $fi->wp_locale = 'fi';
848 $fi->slug = 'fi';
849 $fi->google_code = 'fi';
850 $fi->facebook_locale = 'fi_FI';
851
852 $fj = new GP_Locale();
853 $fj->english_name = 'Fijian';
854 $fj->native_name = 'Vosa Vakaviti';
855 $fj->lang_code_iso_639_1 = 'fj';
856 $fj->lang_code_iso_639_2 = 'fij';
857 $fj->country_code = 'fj';
858 $fj->slug = 'fj';
859
860 $fo = new GP_Locale();
861 $fo->english_name = 'Faroese';
862 $fo->native_name = 'Føroyskt';
863 $fo->lang_code_iso_639_1 = 'fo';
864 $fo->lang_code_iso_639_2 = 'fao';
865 $fo->country_code = 'fo';
866 $fo->wp_locale = 'fo';
867 $fo->slug = 'fo';
868 $fo->facebook_locale = 'fo_FO';
869
870 $fr = new GP_Locale();
871 $fr->english_name = 'French (France)';
872 $fr->native_name = 'Français';
873 $fr->lang_code_iso_639_1 = 'fr';
874 $fr->country_code = 'fr';
875 $fr->wp_locale = 'fr_FR';
876 $fr->slug = 'fr';
877 $fr->nplurals = 2;
878 $fr->plural_expression = 'n > 1';
879 $fr->google_code = 'fr';
880 $fr->facebook_locale = 'fr_FR';
881
882 $fr_be = new GP_Locale();
883 $fr_be->english_name = 'French (Belgium)';
884 $fr_be->native_name = 'Français de Belgique';
885 $fr_be->lang_code_iso_639_1 = 'fr';
886 $fr_be->lang_code_iso_639_2 = 'fra';
887 $fr_be->country_code = 'be';
888 $fr_be->wp_locale = 'fr_BE';
889 $fr_be->slug = 'fr-be';
890
891 $fr_ca = new GP_Locale();
892 $fr_ca->english_name = 'French (Canada)';
893 $fr_ca->native_name = 'Français du Canada';
894 $fr_ca->lang_code_iso_639_1 = 'fr';
895 $fr_ca->lang_code_iso_639_2 = 'fra';
896 $fr_ca->country_code = 'ca';
897 $fr_ca->wp_locale = 'fr_CA';
898 $fr_ca->slug = 'fr-ca';
899 $fr_ca->facebook_locale = 'fr_CA';
900
901 $fr_ch = new GP_Locale();
902 $fr_ch->english_name = 'French (Switzerland)';
903 $fr_ch->native_name = 'Français de Suisse';
904 $fr_ch->lang_code_iso_639_1 = 'fr';
905 $fr_ch->lang_code_iso_639_2 = 'fra';
906 $fr_ch->country_code = 'ch';
907 $fr_ch->slug = 'fr-ch';
908
909 $frp = new GP_Locale();
910 $frp->english_name = 'Arpitan';
911 $frp->native_name = 'Arpitan';
912 $frp->lang_code_iso_639_3 = 'frp';
913 $frp->country_code = 'fr';
914 $frp->wp_locale = 'frp';
915 $frp->slug = 'frp';
916 $frp->nplurals = 2;
917 $frp->plural_expression = 'n > 1';
918
919 $fur = new GP_Locale();
920 $fur->english_name = 'Friulian';
921 $fur->native_name = 'Friulian';
922 $fur->lang_code_iso_639_2 = 'fur';
923 $fur->lang_code_iso_639_3 = 'fur';
924 $fur->country_code = 'it';
925 $fur->wp_locale = 'fur';
926 $fur->slug = 'fur';
927
928 $fy = new GP_Locale();
929 $fy->english_name = 'Frisian';
930 $fy->native_name = 'Frysk';
931 $fy->lang_code_iso_639_1 = 'fy';
932 $fy->lang_code_iso_639_2 = 'fry';
933 $fy->country_code = 'nl';
934 $fy->wp_locale = 'fy';
935 $fy->slug = 'fy';
936 $fy->facebook_locale = 'fy_NL';
937
938 $ga = new GP_Locale();
939 $ga->english_name = 'Irish';
940 $ga->native_name = 'Gaelige';
941 $ga->lang_code_iso_639_1 = 'ga';
942 $ga->lang_code_iso_639_2 = 'gle';
943 $ga->country_code = 'ie';
944 $ga->slug = 'ga';
945 $ga->wp_locale = 'ga';
946 $ga->nplurals = 5;
947 $ga->plural_expression = 'n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4';
948 $ga->google_code = 'ga';
949 $ga->facebook_locale = 'ga_IE';
950
951 $gd = new GP_Locale();
952 $gd->english_name = 'Scottish Gaelic';
953 $gd->native_name = 'Gàidhlig';
954 $gd->lang_code_iso_639_1 = 'gd';
955 $gd->lang_code_iso_639_2 = 'gla';
956 $gd->lang_code_iso_639_3 = 'gla';
957 $gd->country_code = 'gb';
958 $gd->wp_locale = 'gd';
959 $gd->slug = 'gd';
960 $gd->nplurals = 4;
961 $gd->plural_expression = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3';
962 $gd->google_code = 'gd';
963
964 $gl = new GP_Locale();
965 $gl->english_name = 'Galician';
966 $gl->native_name = 'Galego';
967 $gl->lang_code_iso_639_1 = 'gl';
968 $gl->lang_code_iso_639_2 = 'glg';
969 $gl->country_code = 'es';
970 $gl->wp_locale = 'gl_ES';
971 $gl->slug = 'gl';
972 $gl->google_code = 'gl';
973 $gl->facebook_locale = 'gl_ES';
974
975 $gn = new GP_Locale();
976 $gn->english_name = 'Guaraní';
977 $gn->native_name = 'Avañe\'';
978 $gn->lang_code_iso_639_1 = 'gn';
979 $gn->lang_code_iso_639_2 = 'grn';
980 $gn->wp_locale = 'gn';
981 $gn->slug = 'gn';
982
983 $gsw = new GP_Locale();
984 $gsw->english_name = 'Swiss German';
985 $gsw->native_name = 'Schwyzerdütsch';
986 $gsw->lang_code_iso_639_2 = 'gsw';
987 $gsw->lang_code_iso_639_3 = 'gsw';
988 $gsw->country_code = 'ch';
989 $gsw->wp_locale = 'gsw';
990 $gsw->slug = 'gsw';
991
992 $gu = new GP_Locale();
993 $gu->english_name = 'Gujarati';
994 $gu->native_name = 'ગુજરાતી';
995 $gu->lang_code_iso_639_1 = 'gu';
996 $gu->lang_code_iso_639_2 = 'guj';
997 $gu->wp_locale = 'gu';
998 $gu->slug = 'gu';
999 $gu->google_code = 'gu';
1000 $gu->facebook_locale = 'gu_IN';
1001
1002 $ha = new GP_Locale();
1003 $ha->english_name = 'Hausa (Arabic)';
1004 $ha->native_name = 'هَوُسَ';
1005 $ha->lang_code_iso_639_1 = 'ha';
1006 $ha->lang_code_iso_639_2 = 'hau';
1007 $ha->slug = 'ha';
1008 $ha->text_direction = 'rtl';
1009 $ha->google_code = 'ha';
1010
1011 $hat = new GP_Locale();
1012 $hat->english_name = 'Haitian Creole';
1013 $hat->native_name = 'Kreyol ayisyen';
1014 $hat->lang_code_iso_639_1 = 'ht';
1015 $hat->lang_code_iso_639_2 = 'hat';
1016 $hat->lang_code_iso_639_3 = 'hat';
1017 $hat->country_code = 'ht';
1018 $hat->wp_locale = 'hat';
1019 $hat->slug = 'hat';
1020
1021 $hau = new GP_Locale();
1022 $hau->english_name = 'Hausa';
1023 $hau->native_name = 'Harshen Hausa';
1024 $hau->lang_code_iso_639_1 = 'ha';
1025 $hau->lang_code_iso_639_2 = 'hau';
1026 $hau->lang_code_iso_639_3 = 'hau';
1027 $hau->country_code = 'ng';
1028 $hau->wp_locale = 'hau';
1029 $hau->slug = 'hau';
1030 $hau->google_code = 'ha';
1031 $hau->facebook_locale = 'ha_NG';
1032
1033 $haw = new GP_Locale();
1034 $haw->english_name = 'Hawaiian';
1035 $haw->native_name = 'Ōlelo Hawaiʻi';
1036 $haw->lang_code_iso_639_2 = 'haw';
1037 $haw->country_code = 'us';
1038 $haw->wp_locale = 'haw_US';
1039 $haw->slug = 'haw';
1040
1041 $haz = new GP_Locale();
1042 $haz->english_name = 'Hazaragi';
1043 $haz->native_name = 'هزاره گی';
1044 $haz->lang_code_iso_639_3 = 'haz';
1045 $haz->country_code = 'af';
1046 $haz->wp_locale = 'haz';
1047 $haz->slug = 'haz';
1048 $haz->text_direction = 'rtl';
1049
1050 $he = new GP_Locale();
1051 $he->english_name = 'Hebrew';
1052 $he->native_name = 'עִבְרִית';
1053 $he->lang_code_iso_639_1 = 'he';
1054 $he->country_code = 'il';
1055 $he->wp_locale = 'he_IL';
1056 $he->slug = 'he';
1057 $he->text_direction = 'rtl';
1058 $he->google_code = 'iw';
1059 $he->facebook_locale = 'he_IL';
1060
1061 $hi = new GP_Locale();
1062 $hi->english_name = 'Hindi';
1063 $hi->native_name = 'हिन्दी';
1064 $hi->lang_code_iso_639_1 = 'hi';
1065 $hi->lang_code_iso_639_2 = 'hin';
1066 $hi->country_code = 'in';
1067 $hi->wp_locale = 'hi_IN';
1068 $hi->slug = 'hi';
1069 $hi->google_code = 'hi';
1070 $hi->facebook_locale = 'hi_IN';
1071
1072 $hr = new GP_Locale();
1073 $hr->english_name = 'Croatian';
1074 $hr->native_name = 'Hrvatski';
1075 $hr->lang_code_iso_639_1 = 'hr';
1076 $hr->lang_code_iso_639_2 = 'hrv';
1077 $hr->country_code = 'hr';
1078 $hr->wp_locale = 'hr';
1079 $hr->slug = 'hr';
1080 $hr->nplurals = 3;
1081 $hr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1082 $hr->google_code = 'hr';
1083 $hr->facebook_locale = 'hr_HR';
1084
1085 $hu = new GP_Locale();
1086 $hu->english_name = 'Hungarian';
1087 $hu->native_name = 'Magyar';
1088 $hu->lang_code_iso_639_1 = 'hu';
1089 $hu->lang_code_iso_639_2 = 'hun';
1090 $hu->country_code = 'hu';
1091 $hu->wp_locale = 'hu_HU';
1092 $hu->slug = 'hu';
1093 $hu->google_code = 'hu';
1094 $hu->facebook_locale = 'hu_HU';
1095
1096 $hy = new GP_Locale();
1097 $hy->english_name = 'Armenian';
1098 $hy->native_name = 'Հայերեն';
1099 $hy->lang_code_iso_639_1 = 'hy';
1100 $hy->lang_code_iso_639_2 = 'hye';
1101 $hy->country_code = 'am';
1102 $hy->wp_locale = 'hy';
1103 $hy->slug = 'hy';
1104 $hy->google_code = 'hy';
1105 $hy->facebook_locale = 'hy_AM';
1106
1107 $ia = new GP_Locale();
1108 $ia->english_name = 'Interlingua';
1109 $ia->native_name = 'Interlingua';
1110 $ia->lang_code_iso_639_1 = 'ia';
1111 $ia->lang_code_iso_639_2 = 'ina';
1112 $ia->slug = 'ia';
1113
1114 $id = new GP_Locale();
1115 $id->english_name = 'Indonesian';
1116 $id->native_name = 'Bahasa Indonesia';
1117 $id->lang_code_iso_639_1 = 'id';
1118 $id->lang_code_iso_639_2 = 'ind';
1119 $id->country_code = 'id';
1120 $id->wp_locale = 'id_ID';
1121 $id->slug = 'id';
1122 $id->nplurals = 2;
1123 $id->plural_expression = 'n > 1';
1124 $id->google_code = 'id';
1125 $id->facebook_locale = 'id_ID';
1126
1127 $ido = new GP_Locale();
1128 $ido->english_name = 'Ido';
1129 $ido->native_name = 'Ido';
1130 $ido->lang_code_iso_639_1 = 'io';
1131 $ido->lang_code_iso_639_2 = 'ido';
1132 $ido->lang_code_iso_639_3 = 'ido';
1133 $ido->wp_locale = 'ido';
1134 $ido->slug = 'ido';
1135
1136 $ike = new GP_Locale();
1137 $ike->english_name = 'Inuktitut';
1138 $ike->native_name = 'ᐃᓄᒃᑎᑐᑦ';
1139 $ike->lang_code_iso_639_1 = 'iu';
1140 $ike->lang_code_iso_639_2 = 'iku';
1141 $ike->country_code = 'ca';
1142 $ike->slug = 'ike';
1143
1144 $ilo = new GP_Locale();
1145 $ilo->english_name = 'Iloko';
1146 $ilo->native_name = 'Pagsasao nga Iloko';
1147 $ilo->lang_code_iso_639_2 = 'ilo';
1148 $ilo->country_code = 'ph';
1149 $ilo->slug = 'ilo';
1150
1151 $is = new GP_Locale();
1152 $is->english_name = 'Icelandic';
1153 $is->native_name = 'Íslenska';
1154 $is->lang_code_iso_639_1 = 'is';
1155 $is->lang_code_iso_639_2 = 'isl';
1156 $is->country_code = 'is';
1157 $is->slug = 'is';
1158 $is->wp_locale = 'is_IS';
1159 $is->nplurals = 2;
1160 $is->plural_expression = '(n % 100 != 1 && n % 100 != 21 && n % 100 != 31 && n % 100 != 41 && n % 100 != 51 && n % 100 != 61 && n % 100 != 71 && n % 100 != 81 && n % 100 != 91)';
1161 $is->google_code = 'is';
1162 $is->facebook_locale = 'is_IS';
1163
1164 $it = new GP_Locale();
1165 $it->english_name = 'Italian';
1166 $it->native_name = 'Italiano';
1167 $it->lang_code_iso_639_1 = 'it';
1168 $it->lang_code_iso_639_2 = 'ita';
1169 $it->country_code = 'it';
1170 $it->wp_locale = 'it_IT';
1171 $it->slug = 'it';
1172 $it->google_code = 'it';
1173 $it->facebook_locale = 'it_IT';
1174
1175 $ja = new GP_Locale();
1176 $ja->english_name = 'Japanese';
1177 $ja->native_name = '日本語';
1178 $ja->lang_code_iso_639_1 = 'ja';
1179 $ja->country_code = 'jp';
1180 $ja->wp_locale = 'ja';
1181 $ja->slug = 'ja';
1182 $ja->google_code = 'ja';
1183 $ja->facebook_locale = 'ja_JP';
1184 $ja->nplurals = 1;
1185 $ja->plural_expression = '0';
1186
1187 $jv = new GP_Locale();
1188 $jv->english_name = 'Javanese';
1189 $jv->native_name = 'Basa Jawa';
1190 $jv->lang_code_iso_639_1 = 'jv';
1191 $jv->lang_code_iso_639_2 = 'jav';
1192 $jv->country_code = 'id';
1193 $jv->wp_locale = 'jv_ID';
1194 $jv->slug = 'jv';
1195 $jv->google_code = 'jw';
1196 $jv->facebook_locale = 'jv_ID';
1197
1198 $ka = new GP_Locale();
1199 $ka->english_name = 'Georgian';
1200 $ka->native_name = 'ქართული';
1201 $ka->lang_code_iso_639_1 = 'ka';
1202 $ka->lang_code_iso_639_2 = 'kat';
1203 $ka->country_code = 'ge';
1204 $ka->wp_locale = 'ka_GE';
1205 $ka->slug = 'ka';
1206 $ka->nplurals = 1;
1207 $ka->plural_expression = '0';
1208 $ka->google_code = 'ka';
1209 $ka->facebook_locale = 'ka_GE';
1210
1211 $kab = new GP_Locale();
1212 $kab->english_name = 'Kabyle';
1213 $kab->native_name = 'Taqbaylit';
1214 $kab->lang_code_iso_639_2 = 'kab';
1215 $kab->lang_code_iso_639_3 = 'kab';
1216 $kab->country_code = 'dz';
1217 $kab->wp_locale = 'kab';
1218 $kab->slug = 'kab';
1219 $kab->nplurals = 2;
1220 $kab->plural_expression = '(n > 1)';
1221
1222 $kal = new GP_Locale();
1223 $kal->english_name = 'Greenlandic';
1224 $kal->native_name = 'Kalaallisut';
1225 $kal->lang_code_iso_639_1 = 'kl';
1226 $kal->lang_code_iso_639_2 = 'kal';
1227 $kal->lang_code_iso_639_3 = 'kal';
1228 $kal->country_code = 'gl';
1229 $kal->wp_locale = 'kal';
1230 $kal->slug = 'kal';
1231
1232 $kin = new GP_Locale();
1233 $kin->english_name = 'Kinyarwanda';
1234 $kin->native_name = 'Ikinyarwanda';
1235 $kin->lang_code_iso_639_1 = 'rw';
1236 $kin->lang_code_iso_639_2 = 'kin';
1237 $kin->lang_code_iso_639_3 = 'kin';
1238 $kin->wp_locale = 'kin';
1239 $kin->country_code = 'rw';
1240 $kin->slug = 'kin';
1241 $kin->facebook_locale = 'rw_RW';
1242
1243 $kk = new GP_Locale();
1244 $kk->english_name = 'Kazakh';
1245 $kk->native_name = 'Қазақ тілі';
1246 $kk->lang_code_iso_639_1 = 'kk';
1247 $kk->lang_code_iso_639_2 = 'kaz';
1248 $kk->country_code = 'kz';
1249 $kk->wp_locale = 'kk';
1250 $kk->slug = 'kk';
1251 $kk->google_code = 'kk';
1252 $kk->facebook_locale = 'kk_KZ';
1253
1254 $km = new GP_Locale();
1255 $km->english_name = 'Khmer';
1256 $km->native_name = 'ភាសាខ្មែរ';
1257 $km->lang_code_iso_639_1 = 'km';
1258 $km->lang_code_iso_639_2 = 'khm';
1259 $km->country_code = 'kh';
1260 $km->wp_locale = 'km';
1261 $km->slug = 'km';
1262 $km->nplurals = 1;
1263 $km->plural_expression = '0';
1264 $km->google_code = 'km';
1265 $km->facebook_locale = 'km_KH';
1266
1267 $kmr = new GP_Locale();
1268 $kmr->english_name = 'Kurdish (Kurmanji)';
1269 $kmr->native_name = 'Kurdî';
1270 $kmr->lang_code_iso_639_1 = 'ku';
1271 $kmr->lang_code_iso_639_3 = 'kmr';
1272 $kmr->country_code = 'tr';
1273 $kmr->slug = 'kmr';
1274 $kmr->facebook_locale = 'ku_TR';
1275
1276 $kn = new GP_Locale();
1277 $kn->english_name = 'Kannada';
1278 $kn->native_name = 'ಕನ್ನಡ';
1279 $kn->lang_code_iso_639_1 = 'kn';
1280 $kn->lang_code_iso_639_2 = 'kan';
1281 $kn->country_code = 'in';
1282 $kn->wp_locale = 'kn';
1283 $kn->slug = 'kn';
1284 $kn->google_code = 'kn';
1285 $kn->facebook_locale = 'kn_IN';
1286
1287 $ko = new GP_Locale();
1288 $ko->english_name = 'Korean';
1289 $ko->native_name = '한국어';
1290 $ko->lang_code_iso_639_1 = 'ko';
1291 $ko->lang_code_iso_639_2 = 'kor';
1292 $ko->country_code = 'kr';
1293 $ko->wp_locale = 'ko_KR';
1294 $ko->slug = 'ko';
1295 $ko->nplurals = 1;
1296 $ko->plural_expression = '0';
1297 $ko->google_code = 'ko';
1298 $ko->facebook_locale = 'ko_KR';
1299
1300 $ks = new GP_Locale();
1301 $ks->english_name = 'Kashmiri';
1302 $ks->native_name = 'कश्मीरी';
1303 $ks->lang_code_iso_639_1 = 'ks';
1304 $ks->lang_code_iso_639_2 = 'kas';
1305 $ks->slug = 'ks';
1306
1307 $kir = new GP_Locale();
1308 $kir->english_name = 'Kyrgyz';
1309 $kir->native_name = 'Кыргызча';
1310 $kir->lang_code_iso_639_1 = 'ky';
1311 $kir->lang_code_iso_639_2 = 'kir';
1312 $kir->lang_code_iso_639_3 = 'kir';
1313 $kir->country_code = 'kg';
1314 $kir->wp_locale = 'kir';
1315 $kir->slug = 'kir';
1316 $kir->nplurals = 1;
1317 $kir->plural_expression = '0';
1318 $kir->google_code = 'ky';
1319
1320 $la = new GP_Locale();
1321 $la->english_name = 'Latin';
1322 $la->native_name = 'Latine';
1323 $la->lang_code_iso_639_1 = 'la';
1324 $la->lang_code_iso_639_2 = 'lat';
1325 $la->slug = 'la';
1326 $la->google_code = 'la';
1327 $la->facebook_locale = 'la_VA';
1328
1329 $lb = new GP_Locale();
1330 $lb->english_name = 'Luxembourgish';
1331 $lb->native_name = 'Lëtzebuergesch';
1332 $lb->lang_code_iso_639_1 = 'lb';
1333 $lb->country_code = 'lu';
1334 $lb->wp_locale = 'lb_LU';
1335 $lb->slug = 'lb';
1336
1337 $li = new GP_Locale();
1338 $li->english_name = 'Limburgish';
1339 $li->native_name = 'Limburgs';
1340 $li->lang_code_iso_639_1 = 'li';
1341 $li->lang_code_iso_639_2 = 'lim';
1342 $li->lang_code_iso_639_3 = 'lim';
1343 $li->country_code = 'nl';
1344 $li->wp_locale = 'li';
1345 $li->slug = 'li';
1346 $li->facebook_locale = 'li_NL';
1347
1348 $lin = new GP_Locale();
1349 $lin->english_name = 'Lingala';
1350 $lin->native_name = 'Ngala';
1351 $lin->lang_code_iso_639_1 = 'ln';
1352 $lin->lang_code_iso_639_2 = 'lin';
1353 $lin->country_code = 'cd';
1354 $lin->wp_locale = 'lin';
1355 $lin->slug = 'lin';
1356 $lin->nplurals = 2;
1357 $lin->plural_expression = 'n>1';
1358 $lin->facebook_locale = 'ln_CD';
1359
1360 $lmo = new GP_Locale();
1361 $lmo->english_name = 'Lombard';
1362 $lmo->native_name = 'Lombardo';
1363 $lmo->lang_code_iso_639_3 = 'lmo';
1364 $lmo->country_code = 'it';
1365 $lmo->wp_locale = 'lmo';
1366 $lmo->slug = 'lmo';
1367
1368 $lo = new GP_Locale();
1369 $lo->english_name = 'Lao';
1370 $lo->native_name = 'ພາສາລາວ';
1371 $lo->lang_code_iso_639_1 = 'lo';
1372 $lo->lang_code_iso_639_2 = 'lao';
1373 $lo->country_code = 'LA';
1374 $lo->wp_locale = 'lo';
1375 $lo->slug = 'lo';
1376 $lo->nplurals = 1;
1377 $lo->plural_expression = '0';
1378 $lo->google_code = 'lo';
1379 $lo->facebook_locale = 'lo_LA';
1380
1381 $lt = new GP_Locale();
1382 $lt->english_name = 'Lithuanian';
1383 $lt->native_name = 'Lietuvių kalba';
1384 $lt->lang_code_iso_639_1 = 'lt';
1385 $lt->lang_code_iso_639_2 = 'lit';
1386 $lt->country_code = 'lt';
1387 $lt->wp_locale = 'lt_LT';
1388 $lt->slug = 'lt';
1389 $lt->nplurals = 3;
1390 $lt->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)';
1391 $lt->google_code = 'lt';
1392 $lt->facebook_locale = 'lt_LT';
1393
1394 $lug = new GP_Locale();
1395 $lug->english_name = 'Luganda';
1396 $lug->native_name = 'Oluganda';
1397 $lug->lang_code_iso_639_1 = 'lg';
1398 $lug->lang_code_iso_639_2 = 'lug';
1399 $lug->lang_code_iso_639_3 = 'lug';
1400 $lug->country_code = 'ug';
1401 $lug->wp_locale = 'lug';
1402 $lug->slug = 'lug';
1403
1404 $lv = new GP_Locale();
1405 $lv->english_name = 'Latvian';
1406 $lv->native_name = 'Latviešu valoda';
1407 $lv->lang_code_iso_639_1 = 'lv';
1408 $lv->lang_code_iso_639_2 = 'lav';
1409 $lv->country_code = 'lv';
1410 $lv->wp_locale = 'lv';
1411 $lv->slug = 'lv';
1412 $lv->nplurals = 3;
1413 $lv->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)';
1414 $lv->google_code = 'lv';
1415 $lv->facebook_locale = 'lv_LV';
1416
1417 $me = new GP_Locale();
1418 $me->english_name = 'Montenegrin';
1419 $me->native_name = 'Crnogorski jezik';
1420 $me->lang_code_iso_639_1 = 'me';
1421 $me->country_code = 'me';
1422 $me->wp_locale = 'me_ME';
1423 $me->slug = 'me';
1424 $me->nplurals = 3;
1425 $me->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1426
1427 $mfe = new GP_Locale();
1428 $mfe->english_name = 'Mauritian Creole';
1429 $mfe->native_name = 'Kreol Morisien';
1430 $mfe->lang_code_iso_639_3 = 'mfe';
1431 $mfe->country_code = 'mu';
1432 $mfe->wp_locale = 'mfe';
1433 $mfe->slug = 'mfe';
1434 $mfe->nplurals = 1;
1435 $mfe->plural_expression = '0';
1436
1437 $mg = new GP_Locale();
1438 $mg->english_name = 'Malagasy';
1439 $mg->native_name = 'Malagasy';
1440 $mg->lang_code_iso_639_1 = 'mg';
1441 $mg->lang_code_iso_639_2 = 'mlg';
1442 $mg->country_code = 'mg';
1443 $mg->wp_locale = 'mg_MG';
1444 $mg->slug = 'mg';
1445 $mg->google_code = 'mg';
1446 $mg->facebook_locale = 'mg_MG';
1447
1448 $mhr = new GP_Locale();
1449 $mhr->english_name = 'Mari (Meadow)';
1450 $mhr->native_name = 'Олык марий';
1451 $mhr->lang_code_iso_639_3 = 'mhr';
1452 $mhr->country_code = 'ru';
1453 $mhr->slug = 'mhr';
1454
1455 $mk = new GP_Locale();
1456 $mk->english_name = 'Macedonian';
1457 $mk->native_name = 'Македонски јазик';
1458 $mk->lang_code_iso_639_1 = 'mk';
1459 $mk->lang_code_iso_639_2 = 'mkd';
1460 $mk->country_code = 'mk';
1461 $mk->wp_locale = 'mk_MK';
1462 $mk->slug = 'mk';
1463 $mk->nplurals = 2;
1464 $mk->plural_expression = 'n==1 || n%10==1 ? 0 : 1';
1465 $mk->google_code = 'mk';
1466 $mk->facebook_locale = 'mk_MK';
1467
1468 $ml = new GP_Locale();
1469 $ml->english_name = 'Malayalam';
1470 $ml->native_name = 'മലയാളം';
1471 $ml->lang_code_iso_639_1 = 'ml';
1472 $ml->lang_code_iso_639_2 = 'mal';
1473 $ml->country_code = 'in';
1474 $ml->wp_locale = 'ml_IN';
1475 $ml->slug = 'ml';
1476 $ml->google_code = 'ml';
1477 $ml->facebook_locale = 'ml_IN';
1478
1479 $mlt = new GP_Locale();
1480 $mlt->english_name = 'Maltese';
1481 $mlt->native_name = 'Malti';
1482 $mlt->lang_code_iso_639_1 = 'mt';
1483 $mlt->lang_code_iso_639_2 = 'mlt';
1484 $mlt->lang_code_iso_639_3 = 'mlt';
1485 $mlt->country_code = 'mt';
1486 $mlt->wp_locale = 'mlt';
1487 $mlt->slug = 'mlt';
1488 $mlt->nplurals = 4;
1489 $mlt->plural_expression = '(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)';
1490 $mlt->google_code = 'mt';
1491 $mlt->facebook_locale = 'mt_MT';
1492
1493 $mn = new GP_Locale();
1494 $mn->english_name = 'Mongolian';
1495 $mn->native_name = 'Монгол';
1496 $mn->lang_code_iso_639_1 = 'mn';
1497 $mn->lang_code_iso_639_2 = 'mon';
1498 $mn->country_code = 'mn';
1499 $mn->wp_locale = 'mn';
1500 $mn->slug = 'mn';
1501 $mn->google_code = 'mn';
1502 $mn->facebook_locale = 'mn_MN';
1503
1504 $mr = new GP_Locale();
1505 $mr->english_name = 'Marathi';
1506 $mr->native_name = 'मराठी';
1507 $mr->lang_code_iso_639_1 = 'mr';
1508 $mr->lang_code_iso_639_2 = 'mar';
1509 $mr->wp_locale = 'mr';
1510 $mr->slug = 'mr';
1511 $mr->google_code = 'mr';
1512 $mr->facebook_locale = 'mr_IN';
1513
1514 $mri = new GP_Locale();
1515 $mri->english_name = 'Maori';
1516 $mri->native_name = 'Te Reo Māori';
1517 $mri->lang_code_iso_639_1 = 'mi';
1518 $mri->lang_code_iso_639_3 = 'mri';
1519 $mri->country_code = 'nz';
1520 $mri->slug = 'mri';
1521 $mri->wp_locale = 'mri';
1522 $mri->nplurals = 2;
1523 $mri->plural_expression = '(n > 1)';
1524 $mri->google_code = 'mi';
1525
1526 $mrj = new GP_Locale();
1527 $mrj->english_name = 'Mari (Hill)';
1528 $mrj->native_name = 'Кырык мары';
1529 $mrj->lang_code_iso_639_3 = 'mrj';
1530 $mrj->country_code = 'ru';
1531 $mrj->slug = 'mrj';
1532
1533 $ms = new GP_Locale();
1534 $ms->english_name = 'Malay';
1535 $ms->native_name = 'Bahasa Melayu';
1536 $ms->lang_code_iso_639_1 = 'ms';
1537 $ms->lang_code_iso_639_2 = 'msa';
1538 $ms->wp_locale = 'ms_MY';
1539 $ms->slug = 'ms';
1540 $ms->nplurals = 1;
1541 $ms->plural_expression = '0';
1542 $ms->google_code = 'ms';
1543 $ms->facebook_locale = 'ms_MY';
1544
1545 $mwl = new GP_Locale();
1546 $mwl->english_name = 'Mirandese';
1547 $mwl->native_name = 'Mirandés';
1548 $mwl->lang_code_iso_639_2 = 'mwl';
1549 $mwl->slug = 'mwl';
1550
1551 $my = new GP_Locale();
1552 $my->english_name = 'Myanmar (Burmese)';
1553 $my->native_name = 'ဗမာ�
1554 ';
1555 $my->lang_code_iso_639_1 = 'my';
1556 $my->lang_code_iso_639_2 = 'mya';
1557 $my->country_code = 'mm';
1558 $my->wp_locale = 'my_MM';
1559 $my->slug = 'mya';
1560 $my->google_code = 'my';
1561
1562 $ne = new GP_Locale();
1563 $ne->english_name = 'Nepali';
1564 $ne->native_name = 'नेपाली';
1565 $ne->lang_code_iso_639_1 = 'ne';
1566 $ne->lang_code_iso_639_2 = 'nep';
1567 $ne->country_code = 'np';
1568 $ne->wp_locale = 'ne_NP';
1569 $ne->slug = 'ne';
1570 $ne->google_code = 'ne';
1571 $ne->facebook_locale = 'ne_NP';
1572
1573 $nb = new GP_Locale();
1574 $nb->english_name = 'Norwegian (Bokmål)';
1575 $nb->native_name = 'Norsk bokmål';
1576 $nb->lang_code_iso_639_1 = 'nb';
1577 $nb->lang_code_iso_639_2 = 'nob';
1578 $nb->country_code = 'no';
1579 $nb->wp_locale = 'nb_NO';
1580 $nb->slug = 'nb';
1581 $nb->google_code = 'no';
1582 $nb->facebook_locale = 'nb_NO';
1583
1584 $nl = new GP_Locale();
1585 $nl->english_name = 'Dutch';
1586 $nl->native_name = 'Nederlands';
1587 $nl->lang_code_iso_639_1 = 'nl';
1588 $nl->lang_code_iso_639_2 = 'nld';
1589 $nl->country_code = 'nl';
1590 $nl->wp_locale = 'nl_NL';
1591 $nl->slug = 'nl';
1592 $nl->google_code = 'nl';
1593 $nl->facebook_locale = 'nl_NL';
1594
1595 $nl_be = new GP_Locale();
1596 $nl_be->english_name = 'Dutch (Belgium)';
1597 $nl_be->native_name = 'Nederlands (België)';
1598 $nl_be->lang_code_iso_639_1 = 'nl';
1599 $nl_be->lang_code_iso_639_2 = 'nld';
1600 $nl_be->country_code = 'be';
1601 $nl_be->wp_locale = 'nl_BE';
1602 $nl_be->slug = 'nl-be';
1603 $nl_be->google_code = 'nl';
1604
1605 $nn = new GP_Locale();
1606 $nn->english_name = 'Norwegian (Nynorsk)';
1607 $nn->native_name = 'Norsk nynorsk';
1608 $nn->lang_code_iso_639_1 = 'nn';
1609 $nn->lang_code_iso_639_2 = 'nno';
1610 $nn->country_code = 'no';
1611 $nn->wp_locale = 'nn_NO';
1612 $nn->slug = 'nn';
1613 $nn->google_code = 'no';
1614 $nn->facebook_locale = 'nn_NO';
1615
1616 $no = new GP_Locale();
1617 $no->english_name = 'Norwegian';
1618 $no->native_name = 'Norsk';
1619 $no->lang_code_iso_639_1 = 'no';
1620 $no->lang_code_iso_639_2 = 'nor';
1621 $no->country_code = 'no';
1622 $no->slug = 'no';
1623 $no->google_code = 'no';
1624
1625 $oci = new GP_Locale();
1626 $oci->english_name = 'Occitan';
1627 $oci->native_name = 'Occitan';
1628 $oci->lang_code_iso_639_1 = 'oc';
1629 $oci->lang_code_iso_639_2 = 'oci';
1630 $oci->country_code = 'fr';
1631 $oci->wp_locale = 'oci';
1632 $oci->slug = 'oci';
1633 $oci->nplurals = 2;
1634 $oci->plural_expression = '(n > 1)';
1635
1636 $orm = new GP_Locale();
1637 $orm->english_name = 'Oromo';
1638 $orm->native_name = 'Afaan Oromo';
1639 $orm->lang_code_iso_639_1 = 'om';
1640 $orm->lang_code_iso_639_2 = 'orm';
1641 $orm->lang_code_iso_639_3 = 'orm';
1642 $orm->slug = 'orm';
1643 $orm->plural_expression = '(n > 1)';
1644
1645 $ory = new GP_Locale();
1646 $ory->english_name = 'Oriya';
1647 $ory->native_name = 'ଓଡ଼ିଆ';
1648 $ory->lang_code_iso_639_1 = 'or';
1649 $ory->lang_code_iso_639_2 = 'ory';
1650 $ory->country_code = 'in';
1651 $ory->wp_locale = 'ory';
1652 $ory->slug = 'ory';
1653 $ory->facebook_locale = 'or_IN';
1654
1655 $os = new GP_Locale();
1656 $os->english_name = 'Ossetic';
1657 $os->native_name = 'Ирон';
1658 $os->lang_code_iso_639_1 = 'os';
1659 $os->lang_code_iso_639_2 = 'oss';
1660 $os->wp_locale = 'os';
1661 $os->slug = 'os';
1662
1663 $pa = new GP_Locale();
1664 $pa->english_name = 'Punjabi';
1665 $pa->native_name = 'ਪੰਜਾਬੀ';
1666 $pa->lang_code_iso_639_1 = 'pa';
1667 $pa->lang_code_iso_639_2 = 'pan';
1668 $pa->country_code = 'in';
1669 $pa->wp_locale = 'pa_IN';
1670 $pa->slug = 'pa';
1671 $pa->google_code = 'pa';
1672 $pa->facebook_locale = 'pa_IN';
1673
1674 $pap = new GP_Locale();
1675 $pap->english_name = 'Papiamento';
1676 $pap->native_name = 'Papiamentu';
1677 $pap->lang_code_iso_639_2 = 'pap';
1678 $pap->lang_code_iso_639_3 = 'pap';
1679 $pap->country_code = 'cw';
1680 $pap->wp_locale = 'pap';
1681 $pap->slug = 'pap';
1682
1683 $pirate = new GP_Locale();
1684 $pirate->english_name = 'English (Pirate)';
1685 $pirate->native_name = 'English (Pirate)';
1686 $pirate->lang_code_iso_639_2 = 'art';
1687 $pirate->wp_locale = 'art_xpirate';
1688 $pirate->slug = 'pirate';
1689 $pirate->google_code = 'xx-pirate';
1690 $pirate->facebook_locale = 'en_PI';
1691
1692 $pl = new GP_Locale();
1693 $pl->english_name = 'Polish';
1694 $pl->native_name = 'Polski';
1695 $pl->lang_code_iso_639_1 = 'pl';
1696 $pl->lang_code_iso_639_2 = 'pol';
1697 $pl->country_code = 'pl';
1698 $pl->wp_locale = 'pl_PL';
1699 $pl->slug = 'pl';
1700 $pl->nplurals = 3;
1701 $pl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1702 $pl->google_code = 'pl';
1703 $pl->facebook_locale = 'pl_PL';
1704
1705 $pt_br = new GP_Locale();
1706 $pt_br->english_name = 'Portuguese (Brazil)';
1707 $pt_br->native_name = 'Português do Brasil';
1708 $pt_br->lang_code_iso_639_1 = 'pt';
1709 $pt_br->lang_code_iso_639_2 = 'por';
1710 $pt_br->country_code = 'br';
1711 $pt_br->wp_locale = 'pt_BR';
1712 $pt_br->slug = 'pt-br';
1713 $pt_br->nplurals = 2;
1714 $pt_br->plural_expression = '(n > 1)';
1715 $pt_br->google_code = 'pt-BR';
1716 $pt_br->facebook_locale = 'pt_BR';
1717
1718 $pt = new GP_Locale();
1719 $pt->english_name = 'Portuguese (Portugal)';
1720 $pt->native_name = 'Português';
1721 $pt->lang_code_iso_639_1 = 'pt';
1722 $pt->country_code = 'pt';
1723 $pt->wp_locale = 'pt_PT';
1724 $pt->slug = 'pt';
1725 $pt->google_code = 'pt-PT';
1726 $pt->facebook_locale = 'pt_PT';
1727
1728 $ps = new GP_Locale();
1729 $ps->english_name = 'Pashto';
1730 $ps->native_name = 'پښتو';
1731 $ps->lang_code_iso_639_1 = 'ps';
1732 $ps->lang_code_iso_639_2 = 'pus';
1733 $ps->country_code = 'af';
1734 $ps->wp_locale = 'ps';
1735 $ps->slug = 'ps';
1736 $ps->text_direction = 'rtl';
1737 $ps->facebook_locale = 'ps_AF';
1738
1739 $rhg = new GP_Locale();
1740 $rhg->english_name = 'Rohingya';
1741 $rhg->native_name = 'Ruáinga';
1742 $rhg->lang_code_iso_639_3 = 'rhg';
1743 $rhg->country_code = 'mm';
1744 $rhg->wp_locale = 'rhg';
1745 $rhg->slug = 'rhg';
1746 $rhg->nplurals = 1;
1747 $rhg->plural_expression = '0';
1748
1749 $ro = new GP_Locale();
1750 $ro->english_name = 'Romanian';
1751 $ro->native_name = 'Română';
1752 $ro->lang_code_iso_639_1 = 'ro';
1753 $ro->lang_code_iso_639_2 = 'ron';
1754 $ro->country_code = 'ro';
1755 $ro->wp_locale = 'ro_RO';
1756 $ro->slug = 'ro';
1757 $ro->nplurals = 3;
1758 $ro->plural_expression = '(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)';
1759 $ro->google_code = 'ro';
1760 $ro->facebook_locale = 'ro_RO';
1761
1762 $roh = new GP_Locale();
1763 $roh->english_name = 'Romansh';
1764 $roh->native_name = 'Rumantsch';
1765 $roh->lang_code_iso_639_2 = 'rm';
1766 $roh->lang_code_iso_639_3 = 'roh';
1767 $roh->country_code = 'ch';
1768 $roh->wp_locale = 'roh';
1769 $roh->slug = 'roh';
1770
1771 $ru = new GP_Locale();
1772 $ru->english_name = 'Russian';
1773 $ru->native_name = 'Русский';
1774 $ru->lang_code_iso_639_1 = 'ru';
1775 $ru->lang_code_iso_639_2 = 'rus';
1776 $ru->country_code = 'ru';
1777 $ru->wp_locale = 'ru_RU';
1778 $ru->slug = 'ru';
1779 $ru->nplurals = 3;
1780 $ru->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1781 $ru->google_code = 'ru';
1782 $ru->facebook_locale = 'ru_RU';
1783
1784 $rue = new GP_Locale();
1785 $rue->english_name = 'Rusyn';
1786 $rue->native_name = 'Русиньскый';
1787 $rue->lang_code_iso_639_3 = 'rue';
1788 $rue->wp_locale = 'rue';
1789 $rue->slug = 'rue';
1790 $rue->nplurals = 3;
1791 $rue->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1792
1793 $rup = new GP_Locale();
1794 $rup->english_name = 'Aromanian';
1795 $rup->native_name = 'Armãneashce';
1796 $rup->lang_code_iso_639_2 = 'rup';
1797 $rup->lang_code_iso_639_3 = 'rup';
1798 $rup->country_code = 'mk';
1799 $rup->wp_locale = 'rup_MK';
1800 $rup->slug = 'rup';
1801
1802 $sah = new GP_Locale();
1803 $sah->english_name = 'Sakha';
1804 $sah->native_name = 'Са�
1805 алыы';
1806 $sah->lang_code_iso_639_2 = 'sah';
1807 $sah->lang_code_iso_639_3 = 'sah';
1808 $sah->country_code = 'ru';
1809 $sah->wp_locale = 'sah';
1810 $sah->slug = 'sah';
1811
1812 $sa_in = new GP_Locale();
1813 $sa_in->english_name = 'Sanskrit';
1814 $sa_in->native_name = 'भारतम्';
1815 $sa_in->lang_code_iso_639_1 = 'sa';
1816 $sa_in->lang_code_iso_639_2 = 'san';
1817 $sa_in->lang_code_iso_639_3 = 'san';
1818 $sa_in->country_code = 'in';
1819 $sa_in->wp_locale = 'sa_IN';
1820 $sa_in->slug = 'sa-in';
1821 $sa_in->facebook_locale = 'sa_IN';
1822
1823 $scn = new GP_Locale();
1824 $scn->english_name = 'Sicilian';
1825 $scn->native_name = 'Sicilianu';
1826 $scn->lang_code_iso_639_3 = 'scn';
1827 $scn->country_code = 'it';
1828 $scn->wp_locale = 'scn';
1829 $scn->slug = 'scn';
1830
1831 $si = new GP_Locale();
1832 $si->english_name = 'Sinhala';
1833 $si->native_name = 'සිංහල';
1834 $si->lang_code_iso_639_1 = 'si';
1835 $si->lang_code_iso_639_2 = 'sin';
1836 $si->country_code = 'lk';
1837 $si->wp_locale = 'si_LK';
1838 $si->slug = 'si';
1839 $si->google_code = 'si';
1840 $si->facebook_locale = 'si_LK';
1841
1842 $sk = new GP_Locale();
1843 $sk->english_name = 'Slovak';
1844 $sk->native_name = 'Slovenčina';
1845 $sk->lang_code_iso_639_1 = 'sk';
1846 $sk->lang_code_iso_639_2 = 'slk';
1847 $sk->country_code = 'sk';
1848 $sk->slug = 'sk';
1849 $sk->wp_locale = 'sk_SK';
1850 $sk->nplurals = 3;
1851 $sk->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
1852 $sk->google_code = 'sk';
1853 $sk->facebook_locale = 'sk_SK';
1854
1855 $skr = new GP_Locale();
1856 $skr->english_name = 'Saraiki';
1857 $skr->native_name = 'سرائیکی';
1858 $skr->lang_code_iso_639_3 = 'skr';
1859 $skr->country_code = 'pk';
1860 $skr->wp_locale = 'skr';
1861 $skr->slug = 'skr';
1862 $skr->nplurals = 2;
1863 $skr->plural_expression = '(n > 1)';
1864 $skr->text_direction = 'rtl';
1865
1866 $sl = new GP_Locale();
1867 $sl->english_name = 'Slovenian';
1868 $sl->native_name = 'Slovenščina';
1869 $sl->lang_code_iso_639_1 = 'sl';
1870 $sl->lang_code_iso_639_2 = 'slv';
1871 $sl->country_code = 'si';
1872 $sl->wp_locale = 'sl_SI';
1873 $sl->slug = 'sl';
1874 $sl->nplurals = 4;
1875 $sl->plural_expression = '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)';
1876 $sl->google_code = 'sl';
1877 $sl->facebook_locale = 'sl_SI';
1878
1879 $sna = new GP_Locale();
1880 $sna->english_name = 'Shona';
1881 $sna->native_name = 'ChiShona';
1882 $sna->lang_code_iso_639_1 = 'sn';
1883 $sna->lang_code_iso_639_3 = 'sna';
1884 $sna->country_code = 'zw';
1885 $sna->wp_locale = 'sna';
1886 $sna->slug = 'sna';
1887
1888 $snd = new GP_Locale();
1889 $snd->english_name = 'Sindhi';
1890 $snd->native_name = 'سنڌي';
1891 $snd->lang_code_iso_639_1 = 'sd';
1892 $snd->lang_code_iso_639_2 = 'sd';
1893 $snd->lang_code_iso_639_3 = 'snd';
1894 $snd->country_code = 'pk';
1895 $snd->wp_locale = 'snd';
1896 $snd->slug = 'snd';
1897 $snd->text_direction = 'rtl';
1898
1899 $so = new GP_Locale();
1900 $so->english_name = 'Somali';
1901 $so->native_name = 'Afsoomaali';
1902 $so->lang_code_iso_639_1 = 'so';
1903 $so->lang_code_iso_639_2 = 'som';
1904 $so->lang_code_iso_639_3 = 'som';
1905 $so->country_code = 'so';
1906 $so->wp_locale = 'so_SO';
1907 $so->slug = 'so';
1908 $so->google_code = 'so';
1909 $so->facebook_locale = 'so_SO';
1910
1911 $sq = new GP_Locale();
1912 $sq->english_name = 'Albanian';
1913 $sq->native_name = 'Shqip';
1914 $sq->lang_code_iso_639_1 = 'sq';
1915 $sq->lang_code_iso_639_2 = 'sqi';
1916 $sq->wp_locale = 'sq';
1917 $sq->country_code = 'al';
1918 $sq->slug = 'sq';
1919 $sq->google_code = 'sq';
1920 $sq->facebook_locale = 'sq_AL';
1921
1922 $sq_xk = new GP_Locale();
1923 $sq_xk->english_name = 'Shqip (Kosovo)';
1924 $sq_xk->native_name = 'Për Kosovën Shqip';
1925 $sq_xk->lang_code_iso_639_1 = 'sq';
1926 $sq_xk->country_code = 'xk'; // Temporary country code until Kosovo is assigned an ISO code.
1927 $sq_xk->wp_locale = 'sq_XK';
1928 $sq_xk->slug = 'sq-xk';
1929
1930 $sr = new GP_Locale();
1931 $sr->english_name = 'Serbian';
1932 $sr->native_name = 'Српски језик';
1933 $sr->lang_code_iso_639_1 = 'sr';
1934 $sr->lang_code_iso_639_2 = 'srp';
1935 $sr->country_code = 'rs';
1936 $sr->wp_locale = 'sr_RS';
1937 $sr->slug = 'sr';
1938 $sr->nplurals = 3;
1939 $sr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
1940 $sr->google_code = 'sr';
1941 $sr->facebook_locale = 'sr_RS';
1942
1943 $srd = new GP_Locale();
1944 $srd->english_name = 'Sardinian';
1945 $srd->native_name = 'Sardu';
1946 $srd->lang_code_iso_639_1 = 'sc';
1947 $srd->lang_code_iso_639_2 = 'srd';
1948 $srd->country_code = 'it';
1949 $srd->wp_locale = 'srd';
1950 $srd->slug = 'srd';
1951 $srd->facebook_locale = 'sc_IT';
1952
1953 $ssw = new GP_Locale();
1954 $ssw->english_name = 'Swati';
1955 $ssw->native_name = 'SiSwati';
1956 $ssw->lang_code_iso_639_1 = 'ss';
1957 $ssw->lang_code_iso_639_2 = 'ssw';
1958 $ssw->lang_code_iso_639_3 = 'ssw';
1959 $ssw->country_code = 'sz';
1960 $ssw->wp_locale = 'ssw';
1961 $ssw->slug = 'ssw';
1962
1963 $su = new GP_Locale();
1964 $su->english_name = 'Sundanese';
1965 $su->native_name = 'Basa Sunda';
1966 $su->lang_code_iso_639_1 = 'su';
1967 $su->lang_code_iso_639_2 = 'sun';
1968 $su->country_code = 'id';
1969 $su->wp_locale = 'su_ID';
1970 $su->slug = 'su';
1971 $su->nplurals = 1;
1972 $su->plural_expression = '0';
1973 $su->google_code = 'su';
1974
1975 $sv = new GP_Locale();
1976 $sv->english_name = 'Swedish';
1977 $sv->native_name = 'Svenska';
1978 $sv->lang_code_iso_639_1 = 'sv';
1979 $sv->lang_code_iso_639_2 = 'swe';
1980 $sv->country_code = 'se';
1981 $sv->wp_locale = 'sv_SE';
1982 $sv->slug = 'sv';
1983 $sv->google_code = 'sv';
1984 $sv->facebook_locale = 'sv_SE';
1985
1986 $sw = new GP_Locale();
1987 $sw->english_name = 'Swahili';
1988 $sw->native_name = 'Kiswahili';
1989 $sw->lang_code_iso_639_1 = 'sw';
1990 $sw->lang_code_iso_639_2 = 'swa';
1991 $sw->wp_locale = 'sw';
1992 $sw->slug = 'sw';
1993 $sw->google_code = 'sw';
1994 $sw->facebook_locale = 'sw_KE';
1995
1996 $syr = new GP_Locale();
1997 $syr->english_name = 'Syriac';
1998 $syr->native_name = 'Syriac';
1999 $syr->lang_code_iso_639_3 = 'syr';
2000 $syr->country_code = 'iq';
2001 $syr->wp_locale = 'syr';
2002 $syr->slug = 'syr';
2003
2004 $szl = new GP_Locale();
2005 $szl->english_name = 'Silesian';
2006 $szl->native_name = 'Ślōnskŏ gŏdka';
2007 $szl->lang_code_iso_639_3 = 'szl';
2008 $szl->country_code = 'pl';
2009 $szl->wp_locale = 'szl';
2010 $szl->slug = 'szl';
2011 $szl->nplurals = 3;
2012 $szl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)';
2013 $szl->facebook_locale = 'sz_PL';
2014
2015 $ta = new GP_Locale();
2016 $ta->english_name = 'Tamil';
2017 $ta->native_name = 'தமிழ்';
2018 $ta->lang_code_iso_639_1 = 'ta';
2019 $ta->lang_code_iso_639_2 = 'tam';
2020 $ta->country_code = 'in';
2021 $ta->wp_locale = 'ta_IN';
2022 $ta->slug = 'ta';
2023 $ta->google_code = 'ta';
2024 $ta->facebook_locale = 'ta_IN';
2025
2026 $ta_lk = new GP_Locale();
2027 $ta_lk->english_name = 'Tamil (Sri Lanka)';
2028 $ta_lk->native_name = 'தமிழ்';
2029 $ta_lk->lang_code_iso_639_1 = 'ta';
2030 $ta_lk->lang_code_iso_639_2 = 'tam';
2031 $ta_lk->country_code = 'lk';
2032 $ta_lk->wp_locale = 'ta_LK';
2033 $ta_lk->slug = 'ta-lk';
2034 $ta_lk->google_code = 'ta';
2035
2036 $tah = new GP_Locale();
2037 $tah->english_name = 'Tahitian';
2038 $tah->native_name = 'Reo Tahiti';
2039 $tah->lang_code_iso_639_1 = 'ty';
2040 $tah->lang_code_iso_639_2 = 'tah';
2041 $tah->lang_code_iso_639_3 = 'tah';
2042 $tah->country_code = 'fr';
2043 $tah->wp_locale = 'tah';
2044 $tah->slug = 'tah';
2045 $tah->nplurals = 2;
2046 $tah->plural_expression = '(n > 1)';
2047
2048 $te = new GP_Locale();
2049 $te->english_name = 'Telugu';
2050 $te->native_name = 'తెలుగు';
2051 $te->lang_code_iso_639_1 = 'te';
2052 $te->lang_code_iso_639_2 = 'tel';
2053 $te->wp_locale = 'te';
2054 $te->slug = 'te';
2055 $te->google_code = 'te';
2056 $te->facebook_locale = 'te_IN';
2057
2058 $tg = new GP_Locale();
2059 $tg->english_name = 'Tajik';
2060 $tg->native_name = 'Тоҷикӣ';
2061 $tg->lang_code_iso_639_1 = 'tg';
2062 $tg->lang_code_iso_639_2 = 'tgk';
2063 $tah->country_code = 'tj';
2064 $tg->wp_locale = 'tg';
2065 $tg->slug = 'tg';
2066 $tg->google_code = 'tg';
2067 $tg->facebook_locale = 'tg_TJ';
2068
2069 $th = new GP_Locale();
2070 $th->english_name = 'Thai';
2071 $th->native_name = 'ไทย';
2072 $th->lang_code_iso_639_1 = 'th';
2073 $th->lang_code_iso_639_2 = 'tha';
2074 $th->wp_locale = 'th';
2075 $th->slug = 'th';
2076 $th->nplurals = 1;
2077 $th->plural_expression = '0';
2078 $th->google_code = 'th';
2079 $th->facebook_locale = 'th_TH';
2080
2081 $tir = new GP_Locale();
2082 $tir->english_name = 'Tigrinya';
2083 $tir->native_name = 'ትግርኛ';
2084 $tir->lang_code_iso_639_1 = 'ti';
2085 $tir->lang_code_iso_639_2 = 'tir';
2086 $tir->country_code = 'er';
2087 $tir->wp_locale = 'tir';
2088 $tir->slug = 'tir';
2089 $tir->nplurals = 1;
2090 $tir->plural_expression = '0';
2091
2092 $tlh = new GP_Locale();
2093 $tlh->english_name = 'Klingon';
2094 $tlh->native_name = 'TlhIngan';
2095 $tlh->lang_code_iso_639_2 = 'tlh';
2096 $tlh->slug = 'tlh';
2097 $tlh->nplurals = 1;
2098 $tlh->plural_expression = '0';
2099 $tlh->facebook_locale = 'tl_ST';
2100
2101 $tl = new GP_Locale();
2102 $tl->english_name = 'Tagalog';
2103 $tl->native_name = 'Tagalog';
2104 $tl->lang_code_iso_639_1 = 'tl';
2105 $tl->lang_code_iso_639_2 = 'tgl';
2106 $tl->country_code = 'ph';
2107 $tl->wp_locale = 'tl';
2108 $tl->slug = 'tl';
2109 $tl->google_code = 'tl';
2110 $tl->facebook_locale = 'tl_PH';
2111
2112 $tr = new GP_Locale();
2113 $tr->english_name = 'Turkish';
2114 $tr->native_name = 'Türkçe';
2115 $tr->lang_code_iso_639_1 = 'tr';
2116 $tr->lang_code_iso_639_2 = 'tur';
2117 $tr->country_code = 'tr';
2118 $tr->wp_locale = 'tr_TR';
2119 $tr->slug = 'tr';
2120 $tr->nplurals = 2;
2121 $tr->plural_expression = '(n > 1)';
2122 $tr->google_code = 'tr';
2123 $tr->facebook_locale = 'tr_TR';
2124
2125 $tt_ru = new GP_Locale();
2126 $tt_ru->english_name = 'Tatar';
2127 $tt_ru->native_name = 'Татар теле';
2128 $tt_ru->lang_code_iso_639_1 = 'tt';
2129 $tt_ru->lang_code_iso_639_2 = 'tat';
2130 $tt_ru->country_code = 'ru';
2131 $tt_ru->wp_locale = 'tt_RU';
2132 $tt_ru->slug = 'tt';
2133 $tt_ru->nplurals = 1;
2134 $tt_ru->plural_expression = '0';
2135 $tt_ru->facebook_locale = 'tt_RU';
2136
2137 $tuk = new GP_Locale();
2138 $tuk->english_name = 'Turkmen';
2139 $tuk->native_name = 'Türkmençe';
2140 $tuk->lang_code_iso_639_1 = 'tk';
2141 $tuk->lang_code_iso_639_2 = 'tuk';
2142 $tuk->country_code = 'tm';
2143 $tuk->wp_locale = 'tuk';
2144 $tuk->slug = 'tuk';
2145 $tuk->nplurals = 2;
2146 $tuk->plural_expression = '(n > 1)';
2147 $tuk->facebook_locale = 'tk_TM';
2148
2149 $twd = new GP_Locale();
2150 $twd->english_name = 'Tweants';
2151 $twd->native_name = 'Twents';
2152 $twd->lang_code_iso_639_3 = 'twd';
2153 $twd->country_code = 'nl';
2154 $twd->wp_locale = 'twd';
2155 $twd->slug = 'twd';
2156
2157 $tzm = new GP_Locale();
2158 $tzm->english_name = 'Tamazight (Central Atlas)';
2159 $tzm->native_name = 'ⵜⴰⵎⴰⵣⵉⵖⵜ';
2160 $tzm->lang_code_iso_639_2 = 'tzm';
2161 $tzm->country_code = 'ma';
2162 $tzm->wp_locale = 'tzm';
2163 $tzm->slug = 'tzm';
2164 $tzm->nplurals = 2;
2165 $tzm->plural_expression = '(n > 1)';
2166
2167 $udm = new GP_Locale();
2168 $udm->english_name = 'Udmurt';
2169 $udm->native_name = 'Удмурт кыл';
2170 $udm->lang_code_iso_639_2 = 'udm';
2171 $udm->slug = 'udm';
2172
2173 $ug = new GP_Locale();
2174 $ug->english_name = 'Uighur';
2175 $ug->native_name = 'ئۇيغۇرچە';
2176 $ug->lang_code_iso_639_1 = 'ug';
2177 $ug->lang_code_iso_639_2 = 'uig';
2178 $ug->country_code = 'cn';
2179 $ug->wp_locale = 'ug_CN';
2180 $ug->slug = 'ug';
2181 $ug->text_direction = 'rtl';
2182
2183 $uk = new GP_Locale();
2184 $uk->english_name = 'Ukrainian';
2185 $uk->native_name = 'Українська';
2186 $uk->lang_code_iso_639_1 = 'uk';
2187 $uk->lang_code_iso_639_2 = 'ukr';
2188 $uk->country_code = 'ua';
2189 $uk->wp_locale = 'uk';
2190 $uk->slug = 'uk';
2191 $uk->nplurals = 3;
2192 $uk->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
2193 $uk->google_code = 'uk';
2194 $uk->facebook_locale = 'uk_UA';
2195
2196 $ur = new GP_Locale();
2197 $ur->english_name = 'Urdu';
2198 $ur->native_name = 'اردو';
2199 $ur->lang_code_iso_639_1 = 'ur';
2200 $ur->lang_code_iso_639_2 = 'urd';
2201 $ur->country_code = 'pk';
2202 $ur->wp_locale = 'ur';
2203 $ur->slug = 'ur';
2204 $ur->text_direction = 'rtl';
2205 $ur->google_code = 'ur';
2206 $ur->facebook_locale = 'ur_PK';
2207
2208 $uz = new GP_Locale();
2209 $uz->english_name = 'Uzbek';
2210 $uz->native_name = 'O‘zbekcha';
2211 $uz->lang_code_iso_639_1 = 'uz';
2212 $uz->lang_code_iso_639_2 = 'uzb';
2213 $uz->country_code = 'uz';
2214 $uz->wp_locale = 'uz_UZ';
2215 $uz->slug = 'uz';
2216 $uz->nplurals = 1;
2217 $uz->plural_expression = '0';
2218 $uz->google_code = 'uz';
2219 $uz->facebook_locale = 'uz_UZ';
2220
2221 $vec = new GP_Locale();
2222 $vec->english_name = 'Venetian';
2223 $vec->native_name = 'Vèneta';
2224 $vec->lang_code_iso_639_2 = 'roa';
2225 $vec->lang_code_iso_639_3 = 'vec';
2226 $vec->country_code = 'it';
2227 $vec->slug = 'vec';
2228
2229 $vi = new GP_Locale();
2230 $vi->english_name = 'Vietnamese';
2231 $vi->native_name = 'Tiếng Việt';
2232 $vi->lang_code_iso_639_1 = 'vi';
2233 $vi->lang_code_iso_639_2 = 'vie';
2234 $vi->country_code = 'vn';
2235 $vi->wp_locale = 'vi';
2236 $vi->slug = 'vi';
2237 $vi->nplurals = 1;
2238 $vi->plural_expression = '0';
2239 $vi->google_code = 'vi';
2240 $vi->facebook_locale = 'vi_VN';
2241
2242 $wa = new GP_Locale();
2243 $wa->english_name = 'Walloon';
2244 $wa->native_name = 'Walon';
2245 $wa->lang_code_iso_639_1 = 'wa';
2246 $wa->lang_code_iso_639_2 = 'wln';
2247 $wa->country_code = 'be';
2248 $wa->wp_locale = 'wa';
2249 $wa->slug = 'wa';
2250
2251 $xho = new GP_Locale();
2252 $xho->english_name = 'Xhosa';
2253 $xho->native_name = 'isiXhosa';
2254 $xho->lang_code_iso_639_1 = 'xh';
2255 $xho->lang_code_iso_639_2 = 'xho';
2256 $xho->lang_code_iso_639_3 = 'xho';
2257 $xho->country_code = 'za';
2258 $xho->wp_locale = 'xho';
2259 $xho->slug = 'xho';
2260 $xho->google_code = 'xh';
2261 $xho->facebook_locale = 'xh_ZA';
2262
2263 $xmf = new GP_Locale();
2264 $xmf->english_name = 'Mingrelian';
2265 $xmf->native_name = 'მარგალური ნინა';
2266 $xmf->lang_code_iso_639_3 = 'xmf';
2267 $xmf->country_code = 'ge';
2268 $xmf->wp_locale = 'xmf';
2269 $xmf->slug = 'xmf';
2270
2271 $yi = new GP_Locale();
2272 $yi->english_name = 'Yiddish';
2273 $yi->native_name = 'ייִדיש';
2274 $yi->lang_code_iso_639_1 = 'yi';
2275 $yi->lang_code_iso_639_2 = 'yid';
2276 $yi->slug = 'yi';
2277 $yi->text_direction = 'rtl';
2278 $yi->google_code = 'yi';
2279
2280 $yor = new GP_Locale();
2281 $yor->english_name = 'Yoruba';
2282 $yor->native_name = 'Yorùbá';
2283 $yor->lang_code_iso_639_1 = 'yo';
2284 $yor->lang_code_iso_639_2 = 'yor';
2285 $yor->lang_code_iso_639_3 = 'yor';
2286 $yor->country_code = 'ng';
2287 $yor->wp_locale = 'yor';
2288 $yor->slug = 'yor';
2289 $yor->google_code = 'yo';
2290 $yor->facebook_locale = 'yo_NG';
2291
2292 $zh_cn = new GP_Locale();
2293 $zh_cn->english_name = 'Chinese (China)';
2294 $zh_cn->native_name = '简体中文';
2295 $zh_cn->lang_code_iso_639_1 = 'zh';
2296 $zh_cn->lang_code_iso_639_2 = 'zho';
2297 $zh_cn->country_code = 'cn';
2298 $zh_cn->wp_locale = 'zh_CN';
2299 $zh_cn->slug = 'zh-cn';
2300 $zh_cn->nplurals = 1;
2301 $zh_cn->plural_expression = '0';
2302 $zh_cn->google_code = 'zh-CN';
2303 $zh_cn->facebook_locale = 'zh_CN';
2304
2305 $zh_hk = new GP_Locale();
2306 $zh_hk->english_name = 'Chinese (Hong Kong)';
2307 $zh_hk->native_name = '香港中文版 ';
2308 $zh_hk->lang_code_iso_639_1 = 'zh';
2309 $zh_hk->lang_code_iso_639_2 = 'zho';
2310 $zh_hk->country_code = 'hk';
2311 $zh_hk->wp_locale = 'zh_HK';
2312 $zh_hk->slug = 'zh-hk';
2313 $zh_hk->nplurals = 1;
2314 $zh_hk->plural_expression = '0';
2315 $zh_hk->facebook_locale = 'zh_HK';
2316
2317 $zh_sg = new GP_Locale();
2318 $zh_sg->english_name = 'Chinese (Singapore)';
2319 $zh_sg->native_name = '中文';
2320 $zh_sg->lang_code_iso_639_1 = 'zh';
2321 $zh_sg->lang_code_iso_639_2 = 'zho';
2322 $zh_sg->country_code = 'sg';
2323 $zh_sg->wp_locale = 'zh_SG';
2324 $zh_sg->slug = 'zh-sg';
2325 $zh_sg->nplurals = 1;
2326 $zh_sg->plural_expression = '0';
2327
2328 $zh_tw = new GP_Locale();
2329 $zh_tw->english_name = 'Chinese (Taiwan)';
2330 $zh_tw->native_name = '繁體中文';
2331 $zh_tw->lang_code_iso_639_1 = 'zh';
2332 $zh_tw->lang_code_iso_639_2 = 'zho';
2333 $zh_tw->country_code = 'tw';
2334 $zh_tw->slug = 'zh-tw';
2335 $zh_tw->wp_locale= 'zh_TW';
2336 $zh_tw->nplurals = 1;
2337 $zh_tw->plural_expression = '0';
2338 $zh_tw->google_code = 'zh-TW';
2339 $zh_tw->facebook_locale = 'zh_TW';
2340
2341 $zh = new GP_Locale();
2342 $zh->english_name = 'Chinese';
2343 $zh->native_name = '中文';
2344 $zh->lang_code_iso_639_1 = 'zh';
2345 $zh->lang_code_iso_639_2 = 'zho';
2346 $zh->slug = 'zh';
2347 $zh->nplurals = 1;
2348 $zh->plural_expression = '0';
2349
2350 $zul = new GP_Locale();
2351 $zul->english_name = 'Zulu';
2352 $zul->native_name = 'isiZulu';
2353 $zul->lang_code_iso_639_1 = 'zu';
2354 $zul->lang_code_iso_639_2 = 'zul';
2355 $zul->lang_code_iso_639_3 = 'zul';
2356 $zul->country_code = 'za';
2357 $zul->wp_locale = 'zul';
2358 $zul->slug = 'zul';
2359 $zul->google_code = 'zu';
2360
2361 foreach( get_defined_vars() as $locale ) {
2362 $this->locales[ $locale->slug ] = $locale;
2363 }
2364 }
2365
2366 public static function &instance() {
2367 if ( ! isset( $GLOBALS['gp_locales'] ) )
2368 $GLOBALS['gp_locales'] = new GP_Locales;
2369
2370 return $GLOBALS['gp_locales'];
2371 }
2372
2373 public static function locales() {
2374 $instance = GP_Locales::instance();
2375 return $instance->locales;
2376 }
2377
2378 public static function exists( $slug ) {
2379 $instance = GP_Locales::instance();
2380 return isset( $instance->locales[ $slug ] );
2381 }
2382
2383 public static function by_slug( $slug ) {
2384 $instance = GP_Locales::instance();
2385 return isset( $instance->locales[ $slug ] )? $instance->locales[ $slug ] : null;
2386 }
2387
2388 public static function by_field( $field_name, $field_value ) {
2389 $instance = GP_Locales::instance();
2390 $result = false;
2391
2392 foreach( $instance->locales() as $locale ) {
2393 if ( isset( $locale->$field_name ) && $locale->$field_name == $field_value ) {
2394 $result = $locale;
2395 break;
2396 }
2397 }
2398
2399 return $result;
2400 }
2401 }
2402
2403 endif;
2404