1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-17 21:06:17 +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

262 lines
6.1 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 (
'AC' => 'Himmelfártsinsla',
'AD' => 'Andorra',
'AE' => 'Vereinigti Arabiše Emirat',
'AF' => 'Afganištan',
'AG' => 'Antigua und Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanie',
'AM' => 'Armenie',
'AO' => 'Angola',
'AQ' => 'Antarktis',
'AR' => 'Argentinie',
'AS' => 'Amerikaniš Samoa',
'AT' => 'Öštrič',
'AU' => 'Australie',
'AW' => 'Aruba',
'AX' => 'Alandinslä',
'AZ' => 'Aserbaidšan',
'BA' => 'Bosnie und Herzegovina',
'BB' => 'Barbados',
'BD' => 'Bangladeš',
'BE' => 'Belgie',
'BF' => 'Burkina Faso',
'BG' => 'Bulgarie',
'BH' => 'Bačrain',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BL' => 'St. Bartholomäus-Insla',
'BM' => 'Bermuda',
'BN' => 'Brunei',
'BO' => 'Boliwie',
'BR' => 'Brasilie',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BW' => 'Botswana',
'BY' => 'Wísrussland',
'BZ' => 'Belize',
'CA' => 'Kanada',
'CC' => 'Kokosinslä',
'CD' => 'Kongo-Kinshasa',
'CF' => 'Zentralafrikaniši Rebublik',
'CG' => 'Kongo Brazzaville',
'CH' => 'Schwiz',
'CI' => 'Elfebeiküšta',
'CK' => 'Cookinslä',
'CL' => 'Tšile',
'CM' => 'Kamerun',
'CN' => 'China',
'CO' => 'Kolumbie',
'CR' => 'Costa Rica',
'CU' => 'Kuba',
'CV' => 'Kap Verde',
'CX' => 'Wienäčtsinslä',
'CY' => 'Zypre',
'CZ' => 'Tšečie',
'DE' => 'Titšland',
'DG' => 'Diego Garcia',
'DJ' => 'Dšibuti',
'DK' => 'Dänemark',
'DM' => 'Doninica',
'DO' => 'Dominikaniši Rebublik',
'DZ' => 'Algerie',
'EA' => 'Ceuta und Melilla',
'EC' => 'Ecuador',
'EE' => 'Eštland',
'EG' => 'Egypte',
'EH' => 'Weštsahara',
'ER' => 'Eritrea',
'ES' => 'Schpanie',
'ET' => 'Ethiopie',
'FI' => 'Finnland',
'FJ' => 'Fidši',
'FK' => 'Falklandinslä',
'FM' => 'Mikronesie',
'FO' => 'Färöe',
'FR' => 'Frankrič',
'GA' => 'Gabon',
'GB' => 'England',
'GD' => 'Grenada',
'GE' => 'Georgie',
'GF' => 'Französiš Guiana',
'GG' => 'Guernsey',
'GH' => 'Gana',
'GI' => 'Gibraltar',
'GL' => 'Grönland',
'GM' => 'Gambia',
'GN' => 'Ginea',
'GP' => 'Guadeloupe',
'GQ' => 'Equatorialginea',
'GR' => 'Gričeland',
'GS' => 'Südgeorgie und dsüdliče Senwičinslä',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Ginea Bissau',
'GY' => 'Guyana',
'HK' => 'Sonderverwaltigszona Hongkong',
'HN' => 'Honduras',
'HR' => 'Kroatie',
'HT' => 'Haiti',
'HU' => 'Ungare',
'IC' => 'Kanariše Inslä',
'ID' => 'Indonesie',
'IE' => 'Irland',
'IL' => 'Israel',
'IM' => 'Isle of Man',
'IN' => 'Indie',
'IO' => 'Britišes Territorium em indiše Ozean',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Island',
'IT' => 'Italie',
'JE' => 'Jersey',
'JM' => 'Jamaika',
'JO' => 'Jordanie',
'JP' => 'Japan',
'KE' => 'Kenya',
'KG' => 'Kirgištan',
'KH' => 'Kambodša',
'KI' => 'Kiribati',
'KM' => 'Komore',
'KN' => 'St. Kitts und Nevis',
'KP' => 'Nordkorea',
'KR' => 'Südkorea',
'KW' => 'Kuweit',
'KY' => 'Kaimaninslä',
'KZ' => 'Kasačstan',
'LA' => 'Laos',
'LB' => 'Libanon',
'LC' => 'St. Lucia',
'LI' => 'Liečteštei',
'LK' => 'Sri Lanka',
'LR' => 'Liberia',
'LS' => 'Lesotho',
'LT' => 'Litaue',
'LU' => 'Luxeburg',
'LV' => 'Lettland',
'LY' => 'Lübie',
'MA' => 'Maroko',
'MC' => 'Monago',
'MD' => 'Moldau',
'ME' => 'Montenegro',
'MF' => 'St. Martin',
'MG' => 'Madagaskar',
'MH' => 'Maršalinslä',
'MK' => 'Mazedonie',
'ML' => 'Mali',
'MM' => 'Burma',
'MN' => 'Mongolei',
'MO' => 'Sonderverwaltigszona Makau',
'MP' => 'Nördliči Mariane',
'MQ' => 'Martinique',
'MR' => 'Mauretanie',
'MS' => 'Monserrat',
'MT' => 'Malta',
'MU' => 'Mauritius',
'MV' => 'Malediwe',
'MW' => 'Malawi',
'MX' => 'Mexiko',
'MY' => 'Malaysia',
'MZ' => 'Mosambik',
'NA' => 'Namibia',
'NC' => 'Niwkaledonie',
'NE' => 'Niger',
'NF' => 'Norfolkinsla',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Holand',
'NO' => 'Norwäge',
'NP' => 'Nepal',
'NR' => 'Nauru',
'NU' => 'Niue',
'NZ' => 'Niwséland',
'OM' => 'Oman',
'PA' => 'Panama',
'PE' => 'Peru',
'PF' => 'Französiš Polinesie',
'PG' => 'Papua Niwginea',
'PH' => 'Philippine',
'PK' => 'Pakištan',
'PL' => 'Pole',
'PM' => 'St. Pierre und Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'Paleština',
'PT' => 'Portugal',
'PW' => 'Palau',
'PY' => 'Paraguai',
'QA' => 'Katar',
'RE' => 'Réunion',
'RO' => 'Rumänie',
'RS' => 'Serbie',
'RU' => 'Russland',
'RW' => 'Ruanda',
'SA' => 'Saudi Arabie',
'SB' => 'Salomone',
'SC' => 'Sečelle',
'SD' => 'Sudan',
'SE' => 'Schwede',
'SG' => 'Singapur',
'SH' => 'St. Helena',
'SI' => 'Slowenie',
'SJ' => 'Svalbard und Jan Mayen',
'SK' => 'Slowakei',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'ST' => 'São Tomé and Príncipe',
'SV' => 'El Salvador',
'SY' => 'Sürie',
'SZ' => 'Swasiland',
'TA' => 'Tristan da Cunha',
'TC' => 'Turks- und Caicosinslä',
'TD' => 'Tšad',
'TF' => 'Französiši Süd- und Antarktisgebiet',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tadšikistan',
'TK' => 'Tokelau',
'TL' => 'Ošttimor',
'TM' => 'Turkmeništan',
'TN' => 'Tunesie',
'TO' => 'Tonga',
'TR' => 'Türkei',
'TT' => 'Trinidad und Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tansania',
'UA' => 'Ukraine',
'UG' => 'Uganda',
'UM' => 'Amerikaniš Ozeanie',
'US' => 'Amerika',
'UY' => 'Urugauy',
'UZ' => 'Usbekištan',
'VA' => 'Vatikan',
'VC' => 'St. Vincent und dGrenadine',
'VE' => 'Venezuela',
'VG' => 'Britiši Jungfröiwinslä',
'VI' => 'Amerikaniši Jungfröiwinslä',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis und Futuna',
'WS' => 'Samoa',
'YE' => 'Jéme',
'YT' => 'Moyette',
'ZA' => 'Südafrika',
'ZM' => 'Sambia',
'ZW' => 'Simbabwe',
);