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