[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/locales/ -> locales.php (source)

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


Generated: Sun Jun 26 01:01:05 2022 Cross-referenced by PHPXref 0.7.1