mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-21 23:06:16 +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' => 'Isla de la Ascensión',
|
||
'AD' => 'Andorra',
|
||
'AE' => 'Emiratos Árabes Unidos',
|
||
'AF' => 'Afganistán',
|
||
'AG' => 'Antigua y Barbuda',
|
||
'AI' => 'Anguila',
|
||
'AL' => 'Albania',
|
||
'AM' => 'Armenia',
|
||
'AO' => 'Angola',
|
||
'AQ' => 'Antártida',
|
||
'AR' => 'Argentina',
|
||
'AS' => 'Samoa Americana',
|
||
'AT' => 'Austria',
|
||
'AU' => 'Australia',
|
||
'AW' => 'Aruba',
|
||
'AX' => 'Islas Åland',
|
||
'AZ' => 'Azerbaiyán',
|
||
'BA' => 'Bosnia y Herzegovina',
|
||
'BB' => 'Barbados',
|
||
'BD' => 'Bangladés',
|
||
'BE' => 'Bélgica',
|
||
'BF' => 'Burkina Faso',
|
||
'BG' => 'Bulgaria',
|
||
'BH' => 'Baréin',
|
||
'BI' => 'Burundi',
|
||
'BJ' => 'Benín',
|
||
'BL' => 'San Bartolomé',
|
||
'BM' => 'Bermudas',
|
||
'BN' => 'Brunéi',
|
||
'BO' => 'Bolivia',
|
||
'BQ' => 'Caribe neerlandés',
|
||
'BR' => 'Brasil',
|
||
'BS' => 'Bahamas',
|
||
'BT' => 'Bután',
|
||
'BW' => 'Botsuana',
|
||
'BY' => 'Bielorrusia',
|
||
'BZ' => 'Belice',
|
||
'CA' => 'Canadá',
|
||
'CC' => 'Islas Cocos',
|
||
'CD' => 'República Democrática del Congo',
|
||
'CF' => 'República Centroafricana',
|
||
'CG' => 'República del Congo',
|
||
'CH' => 'Suiza',
|
||
'CI' => 'Côte d’Ivoire',
|
||
'CK' => 'Islas Cook',
|
||
'CL' => 'Chile',
|
||
'CM' => 'Camerún',
|
||
'CN' => 'China',
|
||
'CO' => 'Colombia',
|
||
'CR' => 'Costa Rica',
|
||
'CU' => 'Cuba',
|
||
'CV' => 'Cabo Verde',
|
||
'CW' => 'Curazao',
|
||
'CX' => 'Isla de Navidad',
|
||
'CY' => 'Chipre',
|
||
'CZ' => 'Chequia',
|
||
'DE' => 'Alemania',
|
||
'DG' => 'Diego García',
|
||
'DJ' => 'Yibuti',
|
||
'DK' => 'Dinamarca',
|
||
'DM' => 'Dominica',
|
||
'DO' => 'República Dominicana',
|
||
'DZ' => 'Argelia',
|
||
'EA' => 'Ceuta y Melilla',
|
||
'EC' => 'Ecuador',
|
||
'EE' => 'Estonia',
|
||
'EG' => 'Egipto',
|
||
'EH' => 'Sáhara Occidental',
|
||
'ER' => 'Eritrea',
|
||
'ES' => 'España',
|
||
'ET' => 'Etiopía',
|
||
'FI' => 'Finlandia',
|
||
'FJ' => 'Fiyi',
|
||
'FK' => 'Islas Malvinas',
|
||
'FM' => 'Micronesia',
|
||
'FO' => 'Islas Feroe',
|
||
'FR' => 'Francia',
|
||
'GA' => 'Gabón',
|
||
'GB' => 'Reino Unido',
|
||
'GD' => 'Granada',
|
||
'GE' => 'Georgia',
|
||
'GF' => 'Guayana Francesa',
|
||
'GG' => 'Guernsey',
|
||
'GH' => 'Ghana',
|
||
'GI' => 'Gibraltar',
|
||
'GL' => 'Groenlandia',
|
||
'GM' => 'Gambia',
|
||
'GN' => 'Guinea',
|
||
'GP' => 'Guadalupe',
|
||
'GQ' => 'Guinea Ecuatorial',
|
||
'GR' => 'Grecia',
|
||
'GS' => 'Islas Georgia del Sur y Sandwich del Sur',
|
||
'GT' => 'Guatemala',
|
||
'GU' => 'Guam',
|
||
'GW' => 'Guinea-Bisáu',
|
||
'GY' => 'Guyana',
|
||
'HK' => 'RAE de Hong Kong (China)',
|
||
'HN' => 'Honduras',
|
||
'HR' => 'Croacia',
|
||
'HT' => 'Haití',
|
||
'HU' => 'Hungría',
|
||
'IC' => 'Canarias',
|
||
'ID' => 'Indonesia',
|
||
'IE' => 'Irlanda',
|
||
'IL' => 'Israel',
|
||
'IM' => 'Isla de Man',
|
||
'IN' => 'India',
|
||
'IO' => 'Territorio Británico del Océano Índico',
|
||
'IQ' => 'Irak',
|
||
'IR' => 'Irán',
|
||
'IS' => 'Islandia',
|
||
'IT' => 'Italia',
|
||
'JE' => 'Jersey',
|
||
'JM' => 'Jamaica',
|
||
'JO' => 'Jordania',
|
||
'JP' => 'Japón',
|
||
'KE' => 'Kenia',
|
||
'KG' => 'Kirguistán',
|
||
'KH' => 'Camboya',
|
||
'KI' => 'Kiribati',
|
||
'KM' => 'Comoras',
|
||
'KN' => 'San Cristóbal y Nieves',
|
||
'KP' => 'Corea del Norte',
|
||
'KR' => 'Corea del Sur',
|
||
'KW' => 'Kuwait',
|
||
'KY' => 'Islas Caimán',
|
||
'KZ' => 'Kazajistá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' => 'Marruecos',
|
||
'MC' => 'Mónaco',
|
||
'MD' => 'Moldavia',
|
||
'ME' => 'Montenegro',
|
||
'MF' => 'San Martín',
|
||
'MG' => 'Madagascar',
|
||
'MH' => 'Islas Marshall',
|
||
'MK' => 'Macedonia',
|
||
'ML' => 'Mali',
|
||
'MM' => 'Myanmar (Birmania)',
|
||
'MN' => 'Mongolia',
|
||
'MO' => 'RAE de Macao (China)',
|
||
'MP' => 'Islas Marianas del Norte',
|
||
'MQ' => 'Martinica',
|
||
'MR' => 'Mauritania',
|
||
'MS' => 'Montserrat',
|
||
'MT' => 'Malta',
|
||
'MU' => 'Mauricio',
|
||
'MV' => 'Maldivas',
|
||
'MW' => 'Malaui',
|
||
'MX' => 'México',
|
||
'MY' => 'Malasia',
|
||
'MZ' => 'Mozambique',
|
||
'NA' => 'Namibia',
|
||
'NC' => 'Nueva Caledonia',
|
||
'NE' => 'Níger',
|
||
'NF' => 'Isla Norfolk',
|
||
'NG' => 'Nigeria',
|
||
'NI' => 'Nicaragua',
|
||
'NL' => 'Países Bajos',
|
||
'NO' => 'Noruega',
|
||
'NP' => 'Nepal',
|
||
'NR' => 'Nauru',
|
||
'NU' => 'Niue',
|
||
'NZ' => 'Nueva Zelanda',
|
||
'OM' => 'Omán',
|
||
'PA' => 'Panamá',
|
||
'PE' => 'Perú',
|
||
'PF' => 'Polinesia Francesa',
|
||
'PG' => 'Papúa Nueva Guinea',
|
||
'PH' => 'Filipinas',
|
||
'PK' => 'Pakistán',
|
||
'PL' => 'Polonia',
|
||
'PM' => 'San Pedro y Miquelón',
|
||
'PN' => 'Islas Pitcairn',
|
||
'PR' => 'Puerto Rico',
|
||
'PS' => 'Territorios Palestinos',
|
||
'PT' => 'Portugal',
|
||
'PW' => 'Palaos',
|
||
'PY' => 'Paraguay',
|
||
'QA' => 'Catar',
|
||
'RE' => 'Reunión',
|
||
'RO' => 'Rumanía',
|
||
'RS' => 'Serbia',
|
||
'RU' => 'Rusia',
|
||
'RW' => 'Ruanda',
|
||
'SA' => 'Arabia Saudí',
|
||
'SB' => 'Islas Salomón',
|
||
'SC' => 'Seychelles',
|
||
'SD' => 'Sudán',
|
||
'SE' => 'Suecia',
|
||
'SG' => 'Singapur',
|
||
'SH' => 'Santa Elena',
|
||
'SI' => 'Eslovenia',
|
||
'SJ' => 'Svalbard y Jan Mayen',
|
||
'SK' => 'Eslovaquia',
|
||
'SL' => 'Sierra Leona',
|
||
'SM' => 'San Marino',
|
||
'SN' => 'Senegal',
|
||
'SO' => 'Somalia',
|
||
'SR' => 'Surinam',
|
||
'SS' => 'Sudán del Sur',
|
||
'ST' => 'Santo Tomé y Príncipe',
|
||
'SV' => 'El Salvador',
|
||
'SX' => 'Sint Maarten',
|
||
'SY' => 'Siria',
|
||
'SZ' => 'Suazilandia',
|
||
'TA' => 'Tristán de Acuña',
|
||
'TC' => 'Islas Turcas y Caicos',
|
||
'TD' => 'Chad',
|
||
'TF' => 'Territorios Australes Franceses',
|
||
'TG' => 'Togo',
|
||
'TH' => 'Tailandia',
|
||
'TJ' => 'Tayikistán',
|
||
'TK' => 'Tokelau',
|
||
'TL' => 'Timor-Leste',
|
||
'TM' => 'Turkmenistán',
|
||
'TN' => 'Túnez',
|
||
'TO' => 'Tonga',
|
||
'TR' => 'Turquía',
|
||
'TT' => 'Trinidad y Tobago',
|
||
'TV' => 'Tuvalu',
|
||
'TW' => 'Taiwán',
|
||
'TZ' => 'Tanzania',
|
||
'UA' => 'Ucrania',
|
||
'UG' => 'Uganda',
|
||
'UM' => 'Islas menores alejadas de EE. UU.',
|
||
'US' => 'Estados Unidos',
|
||
'UY' => 'Uruguay',
|
||
'UZ' => 'Uzbekistán',
|
||
'VA' => 'Ciudad del Vaticano',
|
||
'VC' => 'San Vicente y las Granadinas',
|
||
'VE' => 'Venezuela',
|
||
'VG' => 'Islas Vírgenes Británicas',
|
||
'VI' => 'Islas Vírgenes de EE. UU.',
|
||
'VN' => 'Vietnam',
|
||
'VU' => 'Vanuatu',
|
||
'WF' => 'Wallis y Futuna',
|
||
'WS' => 'Samoa',
|
||
'XK' => 'Kosovo',
|
||
'YE' => 'Yemen',
|
||
'YT' => 'Mayotte',
|
||
'ZA' => 'Sudáfrica',
|
||
'ZM' => 'Zambia',
|
||
'ZW' => 'Zimbabue',
|
||
);
|