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