mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-18 13:26:14 +00:00
* Add locale and libphonenumber libraries. * Update country code information Updated existing country codes, fixed incorrect NANP codes for member countries (as well as several UK based ones). Also added in Country Name to ISO country code mapping array for use with libphonenumber. * Convert phone number formatting to use libphonenumber libphonenumber parses phone number more consistantly than the old regex's that mismatched number on a regular basis.
267 lines
6.3 KiB
PHP
267 lines
6.3 KiB
PHP
<?php
|
|
/**
|
|
* This file has been @generated by a phing task from CLDR version 33.0.0.
|
|
* See [README.md](README.md#generating-data) for more information.
|
|
*
|
|
* @internal Please do not require this file directly.
|
|
* It may change location/format between versions
|
|
*
|
|
* Do not modify this file directly!
|
|
*/
|
|
|
|
return array (
|
|
'AC' => 'Illa de Ascensión',
|
|
'AD' => 'Andorra',
|
|
'AE' => 'Emiratos Árabes Unidos',
|
|
'AF' => 'Afganistán',
|
|
'AG' => 'Antiga e Barbuda',
|
|
'AI' => 'Anguila',
|
|
'AL' => 'Albania',
|
|
'AM' => 'Armenia',
|
|
'AO' => 'Angola',
|
|
'AQ' => 'Antártida',
|
|
'AR' => 'Arxentina',
|
|
'AS' => 'Samoa Americana',
|
|
'AT' => 'Austria',
|
|
'AU' => 'Australia',
|
|
'AW' => 'Aruba',
|
|
'AX' => 'Illas Aland',
|
|
'AZ' => 'Acerbaixán',
|
|
'BA' => 'Bosnia e Hercegovina',
|
|
'BB' => 'Barbados',
|
|
'BD' => 'Bangladesh',
|
|
'BE' => 'Bélxica',
|
|
'BF' => 'Burkina Faso',
|
|
'BG' => 'Bulgaria',
|
|
'BH' => 'Bahrain',
|
|
'BI' => 'Burundi',
|
|
'BJ' => 'Benin',
|
|
'BL' => 'Saint-Barthélemy',
|
|
'BM' => 'Bermudas',
|
|
'BN' => 'Brunei',
|
|
'BO' => 'Bolivia',
|
|
'BQ' => 'Caribe Neerlandés',
|
|
'BR' => 'Brasil',
|
|
'BS' => 'Bahamas',
|
|
'BT' => 'Bután',
|
|
'BW' => 'Botswana',
|
|
'BY' => 'Bielorrusia',
|
|
'BZ' => 'Belize',
|
|
'CA' => 'Canadá',
|
|
'CC' => 'Illas Cocos (Keeling)',
|
|
'CD' => 'República Democrática do Congo',
|
|
'CF' => 'República Centroafricana',
|
|
'CG' => 'República do Congo',
|
|
'CH' => 'Suíza',
|
|
'CI' => 'Costa do Marfil',
|
|
'CK' => 'Illas Cook',
|
|
'CL' => 'Chile',
|
|
'CM' => 'Camerún',
|
|
'CN' => 'China',
|
|
'CO' => 'Colombia',
|
|
'CR' => 'Costa Rica',
|
|
'CU' => 'Cuba',
|
|
'CV' => 'Cabo Verde',
|
|
'CW' => 'Curaçao',
|
|
'CX' => 'Illa de Nadal',
|
|
'CY' => 'Chipre',
|
|
'CZ' => 'Chequia',
|
|
'DE' => 'Alemaña',
|
|
'DG' => 'Diego García',
|
|
'DJ' => 'Djibuti',
|
|
'DK' => 'Dinamarca',
|
|
'DM' => 'Dominica',
|
|
'DO' => 'República Dominicana',
|
|
'DZ' => 'Alxeria',
|
|
'EA' => 'Ceuta e Melilla',
|
|
'EC' => 'Ecuador',
|
|
'EE' => 'Estonia',
|
|
'EG' => 'Exipto',
|
|
'EH' => 'Sáhara Occidental',
|
|
'ER' => 'Eritrea',
|
|
'ES' => 'España',
|
|
'ET' => 'Etiopía',
|
|
'FI' => 'Finlandia',
|
|
'FJ' => 'Fidxi',
|
|
'FK' => 'Illas Malvinas',
|
|
'FM' => 'Micronesia',
|
|
'FO' => 'Illas Feroe',
|
|
'FR' => 'Francia',
|
|
'GA' => 'Gabón',
|
|
'GB' => 'Reino Unido',
|
|
'GD' => 'Granada',
|
|
'GE' => 'Xeorxia',
|
|
'GF' => 'Güiana Francesa',
|
|
'GG' => 'Guernsey',
|
|
'GH' => 'Ghana',
|
|
'GI' => 'Xibraltar',
|
|
'GL' => 'Groenlandia',
|
|
'GM' => 'Gambia',
|
|
'GN' => 'Guinea',
|
|
'GP' => 'Guadalupe',
|
|
'GQ' => 'Guinea Ecuatorial',
|
|
'GR' => 'Grecia',
|
|
'GS' => 'Illas Xeorxia do Sur e Sandwich do Sur',
|
|
'GT' => 'Guatemala',
|
|
'GU' => 'Guam',
|
|
'GW' => 'Guinea-Bissau',
|
|
'GY' => 'Güiana',
|
|
'HK' => 'Hong Kong RAE da China',
|
|
'HN' => 'Honduras',
|
|
'HR' => 'Croacia',
|
|
'HT' => 'Haití',
|
|
'HU' => 'Hungría',
|
|
'IC' => 'Illas Canarias',
|
|
'ID' => 'Indonesia',
|
|
'IE' => 'Irlanda',
|
|
'IL' => 'Israel',
|
|
'IM' => 'Illa de Man',
|
|
'IN' => 'India',
|
|
'IO' => 'Territorio Británico do Océano Índico',
|
|
'IQ' => 'Iraq',
|
|
'IR' => 'Irán',
|
|
'IS' => 'Islandia',
|
|
'IT' => 'Italia',
|
|
'JE' => 'Jersey',
|
|
'JM' => 'Xamaica',
|
|
'JO' => 'Xordania',
|
|
'JP' => 'Xapón',
|
|
'KE' => 'Kenya',
|
|
'KG' => 'Kirguizistán',
|
|
'KH' => 'Cambodja',
|
|
'KI' => 'Kiribati',
|
|
'KM' => 'Comores',
|
|
'KN' => 'Saint Kitts e Nevis',
|
|
'KP' => 'Corea do Norte',
|
|
'KR' => 'Corea do Sur',
|
|
'KW' => 'Kuwait',
|
|
'KY' => 'Illas Caimán',
|
|
'KZ' => 'Casaquistán',
|
|
'LA' => 'Laos',
|
|
'LB' => 'Líbano',
|
|
'LC' => 'Santa Lucía',
|
|
'LI' => 'Liechtenstein',
|
|
'LK' => 'Sri Lanka',
|
|
'LR' => 'Liberia',
|
|
'LS' => 'Lesoto',
|
|
'LT' => 'Lituania',
|
|
'LU' => 'Luxemburgo',
|
|
'LV' => 'Letonia',
|
|
'LY' => 'Libia',
|
|
'MA' => 'Marrocos',
|
|
'MC' => 'Mónaco',
|
|
'MD' => 'Moldavia',
|
|
'ME' => 'Montenegro',
|
|
'MF' => 'Saint-Martin',
|
|
'MG' => 'Madagascar',
|
|
'MH' => 'Illas Marshall',
|
|
'MK' => 'Macedonia',
|
|
'ML' => 'Malí',
|
|
'MM' => 'Myanmar (Birmania)',
|
|
'MN' => 'Mongolia',
|
|
'MO' => 'Macau RAE da China',
|
|
'MP' => 'Illas Marianas do Norte',
|
|
'MQ' => 'Martinica',
|
|
'MR' => 'Mauritania',
|
|
'MS' => 'Montserrat',
|
|
'MT' => 'Malta',
|
|
'MU' => 'Mauricio',
|
|
'MV' => 'Maldivas',
|
|
'MW' => 'Malawi',
|
|
'MX' => 'México',
|
|
'MY' => 'Malaisia',
|
|
'MZ' => 'Mozambique',
|
|
'NA' => 'Namibia',
|
|
'NC' => 'Nova Caledonia',
|
|
'NE' => 'Níxer',
|
|
'NF' => 'Illa Norfolk',
|
|
'NG' => 'Nixeria',
|
|
'NI' => 'Nicaragua',
|
|
'NL' => 'Países Baixos',
|
|
'NO' => 'Noruega',
|
|
'NP' => 'Nepal',
|
|
'NR' => 'Nauru',
|
|
'NU' => 'Niue',
|
|
'NZ' => 'Nova Zelandia',
|
|
'OM' => 'Omán',
|
|
'PA' => 'Panamá',
|
|
'PE' => 'Perú',
|
|
'PF' => 'Polinesia Francesa',
|
|
'PG' => 'Papúa-Nova Guinea',
|
|
'PH' => 'Filipinas',
|
|
'PK' => 'Paquistán',
|
|
'PL' => 'Polonia',
|
|
'PM' => 'Saint-Pierre-et-Miquelon',
|
|
'PN' => 'Illas Pitcairn',
|
|
'PR' => 'Porto Rico',
|
|
'PS' => 'Territorios Palestinos',
|
|
'PT' => 'Portugal',
|
|
'PW' => 'Palau',
|
|
'PY' => 'Paraguai',
|
|
'QA' => 'Qatar',
|
|
'RE' => 'Reunión',
|
|
'RO' => 'Romanía',
|
|
'RS' => 'Serbia',
|
|
'RU' => 'Rusia',
|
|
'RW' => 'Ruanda',
|
|
'SA' => 'Arabia Saudita',
|
|
'SB' => 'Illas Salomón',
|
|
'SC' => 'Seychelles',
|
|
'SD' => 'Sudán',
|
|
'SE' => 'Suecia',
|
|
'SG' => 'Singapur',
|
|
'SH' => 'Santa Helena',
|
|
'SI' => 'Eslovenia',
|
|
'SJ' => 'Svalbard e Jan Mayen',
|
|
'SK' => 'Eslovaquia',
|
|
'SL' => 'Serra Leoa',
|
|
'SM' => 'San Marino',
|
|
'SN' => 'Senegal',
|
|
'SO' => 'Somalia',
|
|
'SR' => 'Suriname',
|
|
'SS' => 'Sudán do Sur',
|
|
'ST' => 'San Tomé e Príncipe',
|
|
'SV' => 'O Salvador',
|
|
'SX' => 'Sint Maarten',
|
|
'SY' => 'Siria',
|
|
'SZ' => 'Swazilandia',
|
|
'TA' => 'Tristán da Cunha',
|
|
'TC' => 'Illas Turks e Caicos',
|
|
'TD' => 'Chad',
|
|
'TF' => 'Territorios Austrais Franceses',
|
|
'TG' => 'Togo',
|
|
'TH' => 'Tailandia',
|
|
'TJ' => 'Taxiquistán',
|
|
'TK' => 'Tokelau',
|
|
'TL' => 'Timor Leste',
|
|
'TM' => 'Turcomenistán',
|
|
'TN' => 'Tunisia',
|
|
'TO' => 'Tonga',
|
|
'TR' => 'Turquía',
|
|
'TT' => 'Trinidad e Tobago',
|
|
'TV' => 'Tuvalu',
|
|
'TW' => 'Taiwán',
|
|
'TZ' => 'Tanzania',
|
|
'UA' => 'Ucraína',
|
|
'UG' => 'Uganda',
|
|
'UM' => 'Illas Ultramarinas dos EUA',
|
|
'US' => 'Estados Unidos de América',
|
|
'UY' => 'Uruguai',
|
|
'UZ' => 'Uzbequistán',
|
|
'VA' => 'Cidade do Vaticano',
|
|
'VC' => 'San Vicente e As Granadinas',
|
|
'VE' => 'Venezuela',
|
|
'VG' => 'Illas Virxes Británicas',
|
|
'VI' => 'Illas Virxes Estadounidenses',
|
|
'VN' => 'Vietnam',
|
|
'VU' => 'Vanuatu',
|
|
'WF' => 'Wallis e Futuna',
|
|
'WS' => 'Samoa',
|
|
'XK' => 'Kosovo',
|
|
'YE' => 'Iemen',
|
|
'YT' => 'Mayotte',
|
|
'ZA' => 'Suráfrica',
|
|
'ZM' => 'Zambia',
|
|
'ZW' => 'Zimbabwe',
|
|
);
|