| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * @package Polylang | |
| 4 | - */ | |
| 5 | 2 | |
| 6 | 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | 4 | exit; // Don't access directly |
| 8 | 5 | }; |
| @@ -24,31 +21,19 @@ | ||
| 24 | 21 | * [facebook] => Facebook locale |
| 25 | 22 | * |
| 26 | 23 | * Facebook locales without equivalent WordPress locale: |
| 27 | 24 | * 'ay_BO' (Aymara) |
| 28 | - * 'bp_IN' (Bhojpuri) | |
| 29 | 25 | * 'ck_US' (Cherokee) |
| 30 | 26 | * 'en_IN' (English India) |
| 31 | 27 | * 'gx_GR' (Classical Greek) |
| 32 | 28 | * 'ig_NG' (Igbo) |
| 33 | - * 'ik_US' (Inupiak) | |
| 34 | - * 'iu_CA' (Inuktitut) | |
| 35 | 29 | * 'ja_KS' (Japanese Kansai) |
| 36 | - * 'ks_IN' (Cachemiri) | |
| 37 | 30 | * 'lg_UG' (Ganda) |
| 38 | 31 | * 'nd_ZW' (Ndebele) |
| 39 | - * 'nr_ZA' (Southern Ndebele) | |
| 40 | - * 'ns_ZA' (Northern Sotho) | |
| 41 | 32 | * 'ny_MW' (Chewa) |
| 42 | - * 'qc_GT' (Quiché) | |
| 43 | 33 | * 'qu_PE' (Quechua) |
| 44 | 34 | * 'se_NO' (Northern Sami) |
| 45 | - * 'ss_SZ' (Swazi) | |
| 46 | - * 'st_ZA' (Southern Sotho) | |
| 47 | 35 | * 'tl_ST' (Klingon) |
| 48 | - * 'tn_BW' (Tswana) | |
| 49 | - * 'ts_ZA' (Tsonga) | |
| 50 | - * 've_ZA' (Venda) | |
| 51 | 36 | * 'wo_SN' (Wolof) |
| 52 | 37 | * 'yi_DE' (Yiddish) |
| 53 | 38 | * 'zu_ZA' (Zulu) |
| 54 | 39 | * 'zz_TR' (Zazaki) |
| @@ -246,15 +231,8 @@ | ||
| 246 | 231 | 'flag' => 'de', |
| 247 | 232 | 'w3c' => 'de-DE', |
| 248 | 233 | 'facebook' => 'de_DE', |
| 249 | 234 | ), |
| 250 | - 'dsb' => array( | |
| 251 | - 'code' => 'dsb', | |
| 252 | - 'locale' => 'dsb', | |
| 253 | - 'name' => 'Dolnoserbšćina', | |
| 254 | - 'dir' => 'ltr', | |
| 255 | - 'flag' => 'de', | |
| 256 | - ), | |
| 257 | 235 | 'dzo' => array( |
| 258 | 236 | 'code' => 'dz', |
| 259 | 237 | 'locale' => 'dzo', |
| 260 | 238 | 'name' => 'རྫོང་ཁ', |
| @@ -357,16 +335,8 @@ | ||
| 357 | 335 | 'dir' => 'ltr', |
| 358 | 336 | 'flag' => 'cr', |
| 359 | 337 | 'facebook' => 'es_LA', |
| 360 | 338 | ), |
| 361 | - 'es_EC' => array( | |
| 362 | - 'code' => 'es', | |
| 363 | - 'locale' => 'es_EC', | |
| 364 | - 'name' => 'Español', | |
| 365 | - 'dir' => 'ltr', | |
| 366 | - 'flag' => 'ec', | |
| 367 | - 'facebook' => 'es_LA', | |
| 368 | - ), | |
| 369 | 339 | 'es_ES' => array( |
| 370 | 340 | 'code' => 'es', |
| 371 | 341 | 'locale' => 'es_ES', |
| 372 | 342 | 'name' => 'Español', |
| @@ -397,24 +367,8 @@ | ||
| 397 | 367 | 'dir' => 'ltr', |
| 398 | 368 | 'flag' => 'pe', |
| 399 | 369 | 'facebook' => 'es_LA', |
| 400 | 370 | ), |
| 401 | - 'es_PR' => array( | |
| 402 | - 'code' => 'es', | |
| 403 | - 'locale' => 'es_PR', | |
| 404 | - 'name' => 'Español', | |
| 405 | - 'dir' => 'ltr', | |
| 406 | - 'flag' => 'pr', | |
| 407 | - 'facebook' => 'es_LA', | |
| 408 | - ), | |
| 409 | - 'es_UY' => array( | |
| 410 | - 'code' => 'es', | |
| 411 | - 'locale' => 'es_UY', | |
| 412 | - 'name' => 'Español', | |
| 413 | - 'dir' => 'ltr', | |
| 414 | - 'flag' => 'uy', | |
| 415 | - 'facebook' => 'es_LA', | |
| 416 | - ), | |
| 417 | 371 | 'es_VE' => array( |
| 418 | 372 | 'code' => 'es', |
| 419 | 373 | 'locale' => 'es_VE', |
| 420 | 374 | 'name' => 'Español', |
| @@ -514,11 +468,8 @@ | ||
| 514 | 468 | ), |
| 515 | 469 | 'ga' => array( |
| 516 | 470 | 'facebook' => 'ga_IE', |
| 517 | 471 | ), |
| 518 | - 'gax' => array( | |
| 519 | - 'facebook' => 'om_ET', | |
| 520 | - ), | |
| 521 | 472 | 'gd' => array( |
| 522 | 473 | 'code' => 'gd', |
| 523 | 474 | 'locale' => 'gd', |
| 524 | 475 | 'name' => 'Gàidhlig', |
| @@ -543,11 +494,8 @@ | ||
| 543 | 494 | 'dir' => 'ltr', |
| 544 | 495 | 'flag' => 'in', |
| 545 | 496 | 'facebook' => 'gu_IN', |
| 546 | 497 | ), |
| 547 | - 'hat' => array( | |
| 548 | - 'facebook' => 'ht_HT', | |
| 549 | - ), | |
| 550 | 498 | 'hau' => array( |
| 551 | 499 | 'facebook' => 'ha_NG', |
| 552 | 500 | ), |
| 553 | 501 | 'haz' => array( |
| @@ -588,15 +536,8 @@ | ||
| 588 | 536 | 'dir' => 'ltr', |
| 589 | 537 | 'flag' => 'hu', |
| 590 | 538 | 'facebook' => 'hu_HU', |
| 591 | 539 | ), |
| 592 | - 'hsb' => array( | |
| 593 | - 'code' => 'hsb', | |
| 594 | - 'locale' => 'hsb', | |
| 595 | - 'name' => 'Hornjoserbšćina', | |
| 596 | - 'dir' => 'ltr', | |
| 597 | - 'flag' => 'de', | |
| 598 | - ), | |
| 599 | 540 | 'hy' => array( |
| 600 | 541 | 'code' => 'hy', |
| 601 | 542 | 'locale' => 'hy', |
| 602 | 543 | 'name' => 'Հայերեն', |
| @@ -981,15 +922,8 @@ | ||
| 981 | 922 | ), |
| 982 | 923 | 'sna' => array( |
| 983 | 924 | 'facebook' => 'sn_ZW', |
| 984 | 925 | ), |
| 985 | - 'snd' => array( | |
| 986 | - 'code' => 'sd', | |
| 987 | - 'locale' => 'snd', | |
| 988 | - 'name' => 'سنڌي', | |
| 989 | - 'dir' => 'rtl', | |
| 990 | - 'flag' => 'pk', | |
| 991 | - ), | |
| 992 | 926 | 'so_SO' => array( |
| 993 | 927 | 'code' => 'so', |
| 994 | 928 | 'locale' => 'so_SO', |
| 995 | 929 | 'name' => 'Af-Soomaali', |
| @@ -1022,9 +956,8 @@ | ||
| 1022 | 956 | 'locale' => 'su_ID', |
| 1023 | 957 | 'name' => 'Basa Sunda', |
| 1024 | 958 | 'dir' => 'ltr', |
| 1025 | 959 | 'flag' => 'id', |
| 1026 | - 'facebook' => 'su_ID', | |
| 1027 | 960 | ), |
| 1028 | 961 | 'sv_SE' => array( |
| 1029 | 962 | 'code' => 'sv', |
| 1030 | 963 | 'locale' => 'sv_SE', |
| @@ -1033,13 +966,8 @@ | ||
| 1033 | 966 | 'flag' => 'se', |
| 1034 | 967 | 'facebook' => 'sv_SE', |
| 1035 | 968 | ), |
| 1036 | 969 | 'sw' => array( |
| 1037 | - 'code' => 'sw', | |
| 1038 | - 'locale' => 'sw', | |
| 1039 | - 'name' => 'Kiswahili', | |
| 1040 | - 'dir' => 'ltr', | |
| 1041 | - 'flag' => 'ke', | |
| 1042 | 970 | 'facebook' => 'sw_KE', |
| 1043 | 971 | ), |
| 1044 | 972 | 'syr' => array( |
| 1045 | 973 | 'facebook' => 'sy_SY', |