1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-19 22:06:16 +00:00
Greg Ross 6e86c48486 Updated phone formatter (#241)
* 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.
2018-06-26 09:49:22 +02:00

203 lines
4.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 (
'AD' => 'Andorra',
'AF' => 'Afganistán',
'AL' => 'Albania',
'AM' => 'Armenia',
'AO' => 'Angola',
'AR' => 'Argentina',
'AS' => 'Samoa Americana',
'AT' => 'Austria',
'AU' => 'Australia',
'AZ' => 'Azerbaiyán',
'BD' => 'Bangladesh',
'BE' => 'Bélgica',
'BG' => 'Bulgaria',
'BH' => 'Baréin',
'BI' => 'Burundi',
'BJ' => 'Benín',
'BN' => 'Brunéi',
'BO' => 'Bolivia',
'BQ' => 'Bonaire',
'BR' => 'Brasil',
'BS' => 'Bahamas',
'BT' => 'Bután',
'BW' => 'Botsuana',
'BY' => 'Belarús',
'CC' => 'Islas Cocos',
'CD' => 'Congo (RDC)',
'CG' => 'Congo',
'CH' => 'Suiza',
'CI' => 'Côte dIvoire',
'CL' => 'Chile',
'CM' => 'Camerún',
'CN' => 'China',
'CO' => 'Colombia',
'CR' => 'Costa Rica',
'CU' => 'Cuba',
'CW' => 'Curazao',
'CX' => 'Isla Christmas',
'CY' => 'Chipre',
'DE' => 'Alemania',
'DJ' => 'Yibuti',
'DK' => 'Dinamarca',
'DM' => 'Dominica',
'DZ' => 'Argelia',
'EC' => 'Ecuador',
'EE' => 'Estonia',
'EG' => 'Egipto',
'ER' => 'Eritrea',
'ES' => 'España',
'ET' => 'Etiopía',
'FI' => 'Finlandia',
'FJ' => 'Fiyi',
'FM' => 'Micronesia',
'FR' => 'Francia',
'GA' => 'Gabón',
'GB' => 'Reino Unido',
'GG' => 'Guernesey',
'GH' => 'Ghana',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GQ' => 'Guinea Ecuatorial',
'GR' => 'Grecia',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bisáu',
'GY' => 'Guyana',
'HK' => 'Hong Kong (RAE)',
'HN' => 'Honduras',
'HR' => 'Croacia',
'HT' => 'Haití',
'ID' => 'Indonesia',
'IL' => 'Israel',
'IN' => 'India',
'IQ' => 'Irak',
'IR' => 'Irán',
'IS' => 'Islandia',
'IT' => 'Italia',
'JE' => 'Jersey',
'JO' => 'Jordania',
'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',
'KZ' => 'Kazajistán',
'LA' => 'Laos',
'LB' => 'Líbano',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Liberia',
'LS' => 'Lesoto',
'LT' => 'Lituania',
'LU' => 'Luxemburgo',
'LV' => 'Letonia',
'MA' => 'Marruecos',
'MC' => 'Mónaco',
'MD' => 'Moldova',
'MF' => 'San Martín',
'MG' => 'Madagascar',
'MH' => 'Islas Marshall',
'MK' => 'ERY Macedonia',
'ML' => 'Malí',
'MM' => 'Myanmar',
'MO' => 'Macao RAE',
'MP' => 'Islas Marianas del Norte',
'MR' => 'Mauritania',
'MT' => 'Malta',
'MU' => 'Mauricio',
'MV' => 'Maldivas',
'MW' => 'Malawi',
'MX' => 'México',
'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',
'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' => 'Palestina Kamachikuq',
'PT' => 'Portugal',
'PW' => 'Palaos',
'PY' => 'Paraguay',
'QA' => 'Qatar',
'RS' => 'Serbia',
'RU' => 'Rusia',
'RW' => 'Ruanda',
'SA' => 'Arabia Saudí',
'SC' => 'Seychelles',
'SD' => 'Sudán',
'SE' => 'Suecia',
'SG' => 'Singapur',
'SI' => 'Eslovenia',
'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',
'TD' => 'Chad',
'TF' => 'Territorios Australes Franceses',
'TG' => 'Togo',
'TH' => 'Tailandia',
'TJ' => 'Tayikistán',
'TL' => 'Timor-Leste',
'TN' => 'Túnez',
'TO' => 'Tonga',
'TR' => 'Turquía',
'TT' => 'Trinidad y Tobago',
'TZ' => 'Tanzania',
'UG' => 'Uganda',
'UM' => 'Islas menores alejadas de los EE.UU.',
'US' => 'Estados Unidos',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistán',
'VA' => 'Santa Sede (Ciudad del Vaticano)',
'VE' => 'Venezuela',
'VI' => 'EE.UU. Islas Vírgenes',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis y Futuna',
'WS' => 'Samoa',
'YE' => 'Yemen',
'ZA' => 'Sudáfrica',
'ZM' => 'Zambia',
'ZW' => 'Zimbabue',
);