From 0b10d79d5f5b7dc9e397b2b3a7d3fb63d597f678 Mon Sep 17 00:00:00 2001 From: Johan Lipecki Date: Tue, 5 Dec 2023 21:28:58 +0100 Subject: [PATCH 1/7] Update i18n with Swedish translations --- .../select-country/src/lib/i18n/se.ts | 1752 +++++++++++++++++ 1 file changed, 1752 insertions(+) create mode 100644 projects/angular-material-extensions/select-country/src/lib/i18n/se.ts diff --git a/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts b/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts new file mode 100644 index 0000000..ec625ca --- /dev/null +++ b/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts @@ -0,0 +1,1752 @@ +export const COUNTRIES_DB_SE = [ + { + "name": "Afganistan", + "alpha2Code": "AF", + "alpha3Code": "AFG", + "numericCode": 4, + "callingCode": "+93" + }, + { + "name": "Åland", + "alpha2Code": "AX", + "alpha3Code": "ALA", + "numericCode": 248, + "callingCode": "+358" + }, + { + "name": "Albanien", + "alpha2Code": "AL", + "alpha3Code": "ALB", + "numericCode": 8, + "callingCode": "+355" + }, + { + "name": "Algeriet", + "alpha2Code": "DZ", + "alpha3Code": "DZA", + "numericCode": 12, + "callingCode": "+213" + }, + { + "name": "Amerikanska Samoa", + "alpha2Code": "AS", + "alpha3Code": "ASM", + "numericCode": 16, + "callingCode": "+1684" + }, + { + "name": "Andorra", + "alpha2Code": "AD", + "alpha3Code": "AND", + "numericCode": 20, + "callingCode": "+376" + }, + { + "name": "Angola", + "alpha2Code": "AO", + "alpha3Code": "AGO", + "numericCode": 24, + "callingCode": "+244" + }, + { + "name": "Anguilla", + "alpha2Code": "AI", + "alpha3Code": "AIA", + "numericCode": 660, + "callingCode": "+1264" + }, + { + "name": "Antarktis", + "alpha2Code": "AQ", + "alpha3Code": "ATA", + "numericCode": 10, + "callingCode": "+672" + }, + { + "name": "Antigua och Barbuda", + "alpha2Code": "AG", + "alpha3Code": "ATG", + "numericCode": 28, + "callingCode": "+1268" + }, + { + "name": "Argentina", + "alpha2Code": "AR", + "alpha3Code": "ARG", + "numericCode": 32, + "callingCode": "+54" + }, + { + "name": "Armenien", + "alpha2Code": "AM", + "alpha3Code": "ARM", + "numericCode": 51, + "callingCode": "+374" + }, + { + "name": "Aruba", + "alpha2Code": "AW", + "alpha3Code": "ABW", + "numericCode": 533, + "callingCode": "+297" + }, + { + "name": "Australien", + "alpha2Code": "AU", + "alpha3Code": "AUS", + "numericCode": 36, + "callingCode": "+61" + }, + { + "name": "Österrike", + "alpha2Code": "AT", + "alpha3Code": "AUT", + "numericCode": 40, + "callingCode": "+43" + }, + { + "name": "Azerbajdzjan", + "alpha2Code": "AZ", + "alpha3Code": "AZE", + "numericCode": 31, + "callingCode": "+994" + }, + { + "name": "Bahamas", + "alpha2Code": "BS", + "alpha3Code": "BHS", + "numericCode": 44, + "callingCode": "+1242" + }, + { + "name": "Bahrain", + "alpha2Code": "BH", + "alpha3Code": "BHR", + "numericCode": 48, + "callingCode": "+973" + }, + { + "name": "Bangladesh", + "alpha2Code": "BD", + "alpha3Code": "BGD", + "numericCode": 50, + "callingCode": "+880" + }, + { + "name": "Barbados", + "alpha2Code": "BB", + "alpha3Code": "BRB", + "numericCode": 52, + "callingCode": "+1246" + }, + { + "name": "Vitryssland", + "alpha2Code": "BY", + "alpha3Code": "BLR", + "numericCode": 112, + "callingCode": "+375" + }, + { + "name": "Belgien", + "alpha2Code": "BE", + "alpha3Code": "BEL", + "numericCode": 56, + "callingCode": "+32" + }, + { + "name": "Belize", + "alpha2Code": "BZ", + "alpha3Code": "BLZ", + "numericCode": 84, + "callingCode": "+501" + }, + { + "name": "Benin", + "alpha2Code": "BJ", + "alpha3Code": "BEN", + "numericCode": 204, + "callingCode": "+229" + }, + { + "name": "Bermuda", + "alpha2Code": "BM", + "alpha3Code": "BMU", + "numericCode": 60, + "callingCode": "+1441" + }, + { + "name": "Bhutan", + "alpha2Code": "BT", + "alpha3Code": "BTN", + "numericCode": 64, + "callingCode": "+975" + }, + { + "name": "Bolivia", + "alpha2Code": "BO", + "alpha3Code": "BOL", + "numericCode": 68, + "callingCode": "+591" + }, + { + "name": "Bonaire, Sint Eustatius och Saba", + "alpha2Code": "BQ", + "alpha3Code": "BES", + "numericCode": 535, + "callingCode": "+5997" + }, + { + "name": "Bosnien-Hercegovina", + "alpha2Code": "BA", + "alpha3Code": "BIH", + "numericCode": 70, + "callingCode": "+387" + }, + { + "name": "Botswana", + "alpha2Code": "BW", + "alpha3Code": "BWA", + "numericCode": 72, + "callingCode": "+267" + }, + { + "name": "Bouvetön", + "alpha2Code": "BV", + "alpha3Code": "BVT", + "numericCode": 74, + "callingCode": "+" + }, + { + "name": "Brasilien", + "alpha2Code": "BR", + "alpha3Code": "BRA", + "numericCode": 76, + "callingCode": "+55" + }, + { + "name": "Brittiska territoriet i Indiska oceanen", + "alpha2Code": "IO", + "alpha3Code": "IOT", + "numericCode": 86, + "callingCode": "+246" + }, + { + "name": "Förenta staternas mindre öar i Oceanien och Västindien", + "alpha2Code": "UM", + "alpha3Code": "UMI", + "numericCode": 581, + "callingCode": "+" + }, + { + "name": "Jungfruöarna (brittiska)", + "alpha2Code": "VG", + "alpha3Code": "VGB", + "numericCode": 92, + "callingCode": "+1284" + }, + { + "name": "Jungfruöarna (amerikanska)", + "alpha2Code": "VI", + "alpha3Code": "VIR", + "numericCode": 850, + "callingCode": "+1 340" + }, + { + "name": "Brunei", + "alpha2Code": "BN", + "alpha3Code": "BRN", + "numericCode": 96, + "callingCode": "+673" + }, + { + "name": "Bulgarien", + "alpha2Code": "BG", + "alpha3Code": "BGR", + "numericCode": 100, + "callingCode": "+359" + }, + { + "name": "Burkina Faso", + "alpha2Code": "BF", + "alpha3Code": "BFA", + "numericCode": 854, + "callingCode": "+226" + }, + { + "name": "Burundi", + "alpha2Code": "BI", + "alpha3Code": "BDI", + "numericCode": 108, + "callingCode": "+257" + }, + { + "name": "Kambodja", + "alpha2Code": "KH", + "alpha3Code": "KHM", + "numericCode": 116, + "callingCode": "+855" + }, + { + "name": "Kamerun", + "alpha2Code": "CM", + "alpha3Code": "CMR", + "numericCode": 120, + "callingCode": "+237" + }, + { + "name": "Kanada", + "alpha2Code": "CA", + "alpha3Code": "CAN", + "numericCode": 124, + "callingCode": "+1" + }, + { + "name": "Kap Verde", + "alpha2Code": "CV", + "alpha3Code": "CPV", + "numericCode": 132, + "callingCode": "+238" + }, + { + "name": "Caymanöarna", + "alpha2Code": "KY", + "alpha3Code": "CYM", + "numericCode": 136, + "callingCode": "+1345" + }, + { + "name": "Centralafrikanska republiken", + "alpha2Code": "CF", + "alpha3Code": "CAF", + "numericCode": 140, + "callingCode": "+236" + }, + { + "name": "Tchad", + "alpha2Code": "TD", + "alpha3Code": "TCD", + "numericCode": 148, + "callingCode": "+235" + }, + { + "name": "Chile", + "alpha2Code": "CL", + "alpha3Code": "CHL", + "numericCode": 152, + "callingCode": "+56" + }, + { + "name": "Kina", + "alpha2Code": "CN", + "alpha3Code": "CHN", + "numericCode": 156, + "callingCode": "+86" + }, + { + "name": "Julön (Australien)", + "alpha2Code": "CX", + "alpha3Code": "CXR", + "numericCode": 162, + "callingCode": "+61" + }, + { + "name": "Kokosöarna", + "alpha2Code": "CC", + "alpha3Code": "CCK", + "numericCode": 166, + "callingCode": "+61" + }, + { + "name": "Colombia", + "alpha2Code": "CO", + "alpha3Code": "COL", + "numericCode": 170, + "callingCode": "+57" + }, + { + "name": "Komorerna", + "alpha2Code": "KM", + "alpha3Code": "COM", + "numericCode": 174, + "callingCode": "+269" + }, + { + "name": "Kongo-Brazzaville", + "alpha2Code": "CG", + "alpha3Code": "COG", + "numericCode": 178, + "callingCode": "+242" + }, + { + "name": "Kongo-Kinshasa", + "alpha2Code": "CD", + "alpha3Code": "COD", + "numericCode": 180, + "callingCode": "+243" + }, + { + "name": "Cooköarna", + "alpha2Code": "CK", + "alpha3Code": "COK", + "numericCode": 184, + "callingCode": "+682" + }, + { + "name": "Costa Rica", + "alpha2Code": "CR", + "alpha3Code": "CRI", + "numericCode": 188, + "callingCode": "+506" + }, + { + "name": "Kroatien", + "alpha2Code": "HR", + "alpha3Code": "HRV", + "numericCode": 191, + "callingCode": "+385" + }, + { + "name": "Kuba", + "alpha2Code": "CU", + "alpha3Code": "CUB", + "numericCode": 192, + "callingCode": "+53" + }, + { + "name": "Curaçao", + "alpha2Code": "CW", + "alpha3Code": "CUW", + "numericCode": 531, + "callingCode": "+599" + }, + { + "name": "Cypern", + "alpha2Code": "CY", + "alpha3Code": "CYP", + "numericCode": 196, + "callingCode": "+357" + }, + { + "name": "Tjeckien", + "alpha2Code": "CZ", + "alpha3Code": "CZE", + "numericCode": 203, + "callingCode": "+420" + }, + { + "name": "Danmark", + "alpha2Code": "DK", + "alpha3Code": "DNK", + "numericCode": 208, + "callingCode": "+45" + }, + { + "name": "Djibouti", + "alpha2Code": "DJ", + "alpha3Code": "DJI", + "numericCode": 262, + "callingCode": "+253" + }, + { + "name": "Dominica", + "alpha2Code": "DM", + "alpha3Code": "DMA", + "numericCode": 212, + "callingCode": "+1767" + }, + { + "name": "Dominikanska republiken", + "alpha2Code": "DO", + "alpha3Code": "DOM", + "numericCode": 214, + "callingCode": "+1809" + }, + { + "name": "Ecuador", + "alpha2Code": "EC", + "alpha3Code": "ECU", + "numericCode": 218, + "callingCode": "+593" + }, + { + "name": "Egypten", + "alpha2Code": "EG", + "alpha3Code": "EGY", + "numericCode": 818, + "callingCode": "+20" + }, + { + "name": "El Salvador", + "alpha2Code": "SV", + "alpha3Code": "SLV", + "numericCode": 222, + "callingCode": "+503" + }, + { + "name": "Ekvatorialguinea", + "alpha2Code": "GQ", + "alpha3Code": "GNQ", + "numericCode": 226, + "callingCode": "+240" + }, + { + "name": "Eritrea", + "alpha2Code": "ER", + "alpha3Code": "ERI", + "numericCode": 232, + "callingCode": "+291" + }, + { + "name": "Estland", + "alpha2Code": "EE", + "alpha3Code": "EST", + "numericCode": 233, + "callingCode": "+372" + }, + { + "name": "Etiopien", + "alpha2Code": "ET", + "alpha3Code": "ETH", + "numericCode": 231, + "callingCode": "+251" + }, + { + "name": "Falklandsöarna", + "alpha2Code": "FK", + "alpha3Code": "FLK", + "numericCode": 238, + "callingCode": "+500" + }, + { + "name": "Färöarna", + "alpha2Code": "FO", + "alpha3Code": "FRO", + "numericCode": 234, + "callingCode": "+298" + }, + { + "name": "Fiji", + "alpha2Code": "FJ", + "alpha3Code": "FJI", + "numericCode": 242, + "callingCode": "+679" + }, + { + "name": "Finland", + "alpha2Code": "FI", + "alpha3Code": "FIN", + "numericCode": 246, + "callingCode": "+358" + }, + { + "name": "Frankrike", + "alpha2Code": "FR", + "alpha3Code": "FRA", + "numericCode": 250, + "callingCode": "+33" + }, + { + "name": "Franska Guyana", + "alpha2Code": "GF", + "alpha3Code": "GUF", + "numericCode": 254, + "callingCode": "+594" + }, + { + "name": "Franska Polynesien", + "alpha2Code": "PF", + "alpha3Code": "PYF", + "numericCode": 258, + "callingCode": "+689" + }, + { + "name": "Franska Syd- och Antarktis Territorier TAAF", + "alpha2Code": "TF", + "alpha3Code": "ATF", + "numericCode": 260, + "callingCode": "+" + }, + { + "name": "Gabon", + "alpha2Code": "GA", + "alpha3Code": "GAB", + "numericCode": 266, + "callingCode": "+241" + }, + { + "name": "Gambia", + "alpha2Code": "GM", + "alpha3Code": "GMB", + "numericCode": 270, + "callingCode": "+220" + }, + { + "name": "Georgien", + "alpha2Code": "GE", + "alpha3Code": "GEO", + "numericCode": 268, + "callingCode": "+995" + }, + { + "name": "Tyskland", + "alpha2Code": "DE", + "alpha3Code": "DEU", + "numericCode": 276, + "callingCode": "+49" + }, + { + "name": "Ghana", + "alpha2Code": "GH", + "alpha3Code": "GHA", + "numericCode": 288, + "callingCode": "+233" + }, + { + "name": "Gibraltar", + "alpha2Code": "GI", + "alpha3Code": "GIB", + "numericCode": 292, + "callingCode": "+350" + }, + { + "name": "Grekland", + "alpha2Code": "GR", + "alpha3Code": "GRC", + "numericCode": 300, + "callingCode": "+30" + }, + { + "name": "Grönland", + "alpha2Code": "GL", + "alpha3Code": "GRL", + "numericCode": 304, + "callingCode": "+299" + }, + { + "name": "Grenada", + "alpha2Code": "GD", + "alpha3Code": "GRD", + "numericCode": 308, + "callingCode": "+1473" + }, + { + "name": "Guadeloupe", + "alpha2Code": "GP", + "alpha3Code": "GLP", + "numericCode": 312, + "callingCode": "+590" + }, + { + "name": "Guam", + "alpha2Code": "GU", + "alpha3Code": "GUM", + "numericCode": 316, + "callingCode": "+1671" + }, + { + "name": "Guatemala", + "alpha2Code": "GT", + "alpha3Code": "GTM", + "numericCode": 320, + "callingCode": "+502" + }, + { + "name": "Guernsey", + "alpha2Code": "GG", + "alpha3Code": "GGY", + "numericCode": 831, + "callingCode": "+44" + }, + { + "name": "Guinea", + "alpha2Code": "GN", + "alpha3Code": "GIN", + "numericCode": 324, + "callingCode": "+224" + }, + { + "name": "Guinea-Bissau", + "alpha2Code": "GW", + "alpha3Code": "GNB", + "numericCode": 624, + "callingCode": "+245" + }, + { + "name": "Guyana", + "alpha2Code": "GY", + "alpha3Code": "GUY", + "numericCode": 328, + "callingCode": "+592" + }, + { + "name": "Haiti", + "alpha2Code": "HT", + "alpha3Code": "HTI", + "numericCode": 332, + "callingCode": "+509" + }, + { + "name": "Heard- och McDonaldsöarna", + "alpha2Code": "HM", + "alpha3Code": "HMD", + "numericCode": 334, + "callingCode": "+" + }, + { + "name": "Vatikanstaten", + "alpha2Code": "VA", + "alpha3Code": "VAT", + "numericCode": 336, + "callingCode": "+379" + }, + { + "name": "Honduras", + "alpha2Code": "HN", + "alpha3Code": "HND", + "numericCode": 340, + "callingCode": "+504" + }, + { + "name": "Hongkong", + "alpha2Code": "HK", + "alpha3Code": "HKG", + "numericCode": 344, + "callingCode": "+852" + }, + { + "name": "Ungern", + "alpha2Code": "HU", + "alpha3Code": "HUN", + "numericCode": 348, + "callingCode": "+36" + }, + { + "name": "Island", + "alpha2Code": "IS", + "alpha3Code": "ISL", + "numericCode": 352, + "callingCode": "+354" + }, + { + "name": "Indien", + "alpha2Code": "IN", + "alpha3Code": "IND", + "numericCode": 356, + "callingCode": "+91" + }, + { + "name": "Indonesien", + "alpha2Code": "ID", + "alpha3Code": "IDN", + "numericCode": 360, + "callingCode": "+62" + }, + { + "name": "Elfenbenskusten", + "alpha2Code": "CI", + "alpha3Code": "CIV", + "numericCode": 384, + "callingCode": "+225" + }, + { + "name": "Iran", + "alpha2Code": "IR", + "alpha3Code": "IRN", + "numericCode": 364, + "callingCode": "+98" + }, + { + "name": "Irak", + "alpha2Code": "IQ", + "alpha3Code": "IRQ", + "numericCode": 368, + "callingCode": "+964" + }, + { + "name": "Irland", + "alpha2Code": "IE", + "alpha3Code": "IRL", + "numericCode": 372, + "callingCode": "+353" + }, + { + "name": "Isle of Man", + "alpha2Code": "IM", + "alpha3Code": "IMN", + "numericCode": 833, + "callingCode": "+44" + }, + { + "name": "Israel", + "alpha2Code": "IL", + "alpha3Code": "ISR", + "numericCode": 376, + "callingCode": "+972" + }, + { + "name": "Italien", + "alpha2Code": "IT", + "alpha3Code": "ITA", + "numericCode": 380, + "callingCode": "+39" + }, + { + "name": "Jamaica", + "alpha2Code": "JM", + "alpha3Code": "JAM", + "numericCode": 388, + "callingCode": "+1876" + }, + { + "name": "Japan", + "alpha2Code": "JP", + "alpha3Code": "JPN", + "numericCode": 392, + "callingCode": "+81" + }, + { + "name": "Jersey", + "alpha2Code": "JE", + "alpha3Code": "JEY", + "numericCode": 832, + "callingCode": "+44" + }, + { + "name": "Jordanien", + "alpha2Code": "JO", + "alpha3Code": "JOR", + "numericCode": 400, + "callingCode": "+962" + }, + { + "name": "Kazakstan", + "alpha2Code": "KZ", + "alpha3Code": "KAZ", + "numericCode": 398, + "callingCode": "+7" + }, + { + "name": "Kenya", + "alpha2Code": "KE", + "alpha3Code": "KEN", + "numericCode": 404, + "callingCode": "+254" + }, + { + "name": "Kiribati", + "alpha2Code": "KI", + "alpha3Code": "KIR", + "numericCode": 296, + "callingCode": "+686" + }, + { + "name": "Kuwait", + "alpha2Code": "KW", + "alpha3Code": "KWT", + "numericCode": 414, + "callingCode": "+965" + }, + { + "name": "Kirgizistan", + "alpha2Code": "KG", + "alpha3Code": "KGZ", + "numericCode": 417, + "callingCode": "+996" + }, + { + "name": "Laos", + "alpha2Code": "LA", + "alpha3Code": "LAO", + "numericCode": 418, + "callingCode": "+856" + }, + { + "name": "Lettland", + "alpha2Code": "LV", + "alpha3Code": "LVA", + "numericCode": 428, + "callingCode": "+371" + }, + { + "name": "Libanon", + "alpha2Code": "LB", + "alpha3Code": "LBN", + "numericCode": 422, + "callingCode": "+961" + }, + { + "name": "Lesotho", + "alpha2Code": "LS", + "alpha3Code": "LSO", + "numericCode": 426, + "callingCode": "+266" + }, + { + "name": "Liberia", + "alpha2Code": "LR", + "alpha3Code": "LBR", + "numericCode": 430, + "callingCode": "+231" + }, + { + "name": "Libyen", + "alpha2Code": "LY", + "alpha3Code": "LBY", + "numericCode": 434, + "callingCode": "+218" + }, + { + "name": "Liechtenstein", + "alpha2Code": "LI", + "alpha3Code": "LIE", + "numericCode": 438, + "callingCode": "+423" + }, + { + "name": "Litauen", + "alpha2Code": "LT", + "alpha3Code": "LTU", + "numericCode": 440, + "callingCode": "+370" + }, + { + "name": "Luxemburg", + "alpha2Code": "LU", + "alpha3Code": "LUX", + "numericCode": 442, + "callingCode": "+352" + }, + { + "name": "Macao", + "alpha2Code": "MO", + "alpha3Code": "MAC", + "numericCode": 446, + "callingCode": "+853" + }, + { + "name": "Makedonien", + "alpha2Code": "MK", + "alpha3Code": "MKD", + "numericCode": 807, + "callingCode": "+389" + }, + { + "name": "Madagaskar", + "alpha2Code": "MG", + "alpha3Code": "MDG", + "numericCode": 450, + "callingCode": "+261" + }, + { + "name": "Malawi", + "alpha2Code": "MW", + "alpha3Code": "MWI", + "numericCode": 454, + "callingCode": "+265" + }, + { + "name": "Malaysia", + "alpha2Code": "MY", + "alpha3Code": "MYS", + "numericCode": 458, + "callingCode": "+60" + }, + { + "name": "Maldiverna", + "alpha2Code": "MV", + "alpha3Code": "MDV", + "numericCode": 462, + "callingCode": "+960" + }, + { + "name": "Mali", + "alpha2Code": "ML", + "alpha3Code": "MLI", + "numericCode": 466, + "callingCode": "+223" + }, + { + "name": "Malta", + "alpha2Code": "MT", + "alpha3Code": "MLT", + "numericCode": 470, + "callingCode": "+356" + }, + { + "name": "Marshallöarna", + "alpha2Code": "MH", + "alpha3Code": "MHL", + "numericCode": 584, + "callingCode": "+692" + }, + { + "name": "Martinique", + "alpha2Code": "MQ", + "alpha3Code": "MTQ", + "numericCode": 474, + "callingCode": "+596" + }, + { + "name": "Mauretanien", + "alpha2Code": "MR", + "alpha3Code": "MRT", + "numericCode": 478, + "callingCode": "+222" + }, + { + "name": "Mauritius", + "alpha2Code": "MU", + "alpha3Code": "MUS", + "numericCode": 480, + "callingCode": "+230" + }, + { + "name": "Mayotte", + "alpha2Code": "YT", + "alpha3Code": "MYT", + "numericCode": 175, + "callingCode": "+262" + }, + { + "name": "Mexico", + "alpha2Code": "MX", + "alpha3Code": "MEX", + "numericCode": 484, + "callingCode": "+52" + }, + { + "name": "Mikronesien", + "alpha2Code": "FM", + "alpha3Code": "FSM", + "numericCode": 583, + "callingCode": "+691" + }, + { + "name": "Moldavien", + "alpha2Code": "MD", + "alpha3Code": "MDA", + "numericCode": 498, + "callingCode": "+373" + }, + { + "name": "Monaco", + "alpha2Code": "MC", + "alpha3Code": "MCO", + "numericCode": 492, + "callingCode": "+377" + }, + { + "name": "Mongoliet", + "alpha2Code": "MN", + "alpha3Code": "MNG", + "numericCode": 496, + "callingCode": "+976" + }, + { + "name": "Montenegro", + "alpha2Code": "ME", + "alpha3Code": "MNE", + "numericCode": 499, + "callingCode": "+382" + }, + { + "name": "Montserrat", + "alpha2Code": "MS", + "alpha3Code": "MSR", + "numericCode": 500, + "callingCode": "+1664" + }, + { + "name": "Marocko", + "alpha2Code": "MA", + "alpha3Code": "MAR", + "numericCode": 504, + "callingCode": "+212" + }, + { + "name": "Mocambique", + "alpha2Code": "MZ", + "alpha3Code": "MOZ", + "numericCode": 508, + "callingCode": "+258" + }, + { + "name": "Burma (Myanmar)", + "alpha2Code": "MM", + "alpha3Code": "MMR", + "numericCode": 104, + "callingCode": "+95" + }, + { + "name": "Namibia", + "alpha2Code": "NA", + "alpha3Code": "NAM", + "numericCode": 516, + "callingCode": "+264" + }, + { + "name": "Nauru", + "alpha2Code": "NR", + "alpha3Code": "NRU", + "numericCode": 520, + "callingCode": "+674" + }, + { + "name": "Nepal", + "alpha2Code": "NP", + "alpha3Code": "NPL", + "numericCode": 524, + "callingCode": "+977" + }, + { + "name": "Nederländerna", + "alpha2Code": "NL", + "alpha3Code": "NLD", + "numericCode": 528, + "callingCode": "+31" + }, + { + "name": "Nya Kaledonien", + "alpha2Code": "NC", + "alpha3Code": "NCL", + "numericCode": 540, + "callingCode": "+687" + }, + { + "name": "Nya Zeeland", + "alpha2Code": "NZ", + "alpha3Code": "NZL", + "numericCode": 554, + "callingCode": "+64" + }, + { + "name": "Nicaragua", + "alpha2Code": "NI", + "alpha3Code": "NIC", + "numericCode": 558, + "callingCode": "+505" + }, + { + "name": "Niger", + "alpha2Code": "NE", + "alpha3Code": "NER", + "numericCode": 562, + "callingCode": "+227" + }, + { + "name": "Nigeria", + "alpha2Code": "NG", + "alpha3Code": "NGA", + "numericCode": 566, + "callingCode": "+234" + }, + { + "name": "Nieu", + "alpha2Code": "NU", + "alpha3Code": "NIU", + "numericCode": 570, + "callingCode": "+683" + }, + { + "name": "Norfolkön", + "alpha2Code": "NF", + "alpha3Code": "NFK", + "numericCode": 574, + "callingCode": "+672" + }, + { + "name": "Nordkorea", + "alpha2Code": "KP", + "alpha3Code": "PRK", + "numericCode": 408, + "callingCode": "+850" + }, + { + "name": "Nordmarianerna", + "alpha2Code": "MP", + "alpha3Code": "MNP", + "numericCode": 580, + "callingCode": "+1670" + }, + { + "name": "Norge", + "alpha2Code": "NO", + "alpha3Code": "NOR", + "numericCode": 578, + "callingCode": "+47" + }, + { + "name": "Oman", + "alpha2Code": "OM", + "alpha3Code": "OMN", + "numericCode": 512, + "callingCode": "+968" + }, + { + "name": "Pakistan", + "alpha2Code": "PK", + "alpha3Code": "PAK", + "numericCode": 586, + "callingCode": "+92" + }, + { + "name": "Palau", + "alpha2Code": "PW", + "alpha3Code": "PLW", + "numericCode": 585, + "callingCode": "+680" + }, + { + "name": "Palestina", + "alpha2Code": "PS", + "alpha3Code": "PSE", + "numericCode": 275, + "callingCode": "+970" + }, + { + "name": "Panama", + "alpha2Code": "PA", + "alpha3Code": "PAN", + "numericCode": 591, + "callingCode": "+507" + }, + { + "name": "Papaua nya Guinea", + "alpha2Code": "PG", + "alpha3Code": "PNG", + "numericCode": 598, + "callingCode": "+675" + }, + { + "name": "Paraguay", + "alpha2Code": "PY", + "alpha3Code": "PRY", + "numericCode": 600, + "callingCode": "+595" + }, + { + "name": "Peru", + "alpha2Code": "PE", + "alpha3Code": "PER", + "numericCode": 604, + "callingCode": "+51" + }, + { + "name": "Filippinerna", + "alpha2Code": "PH", + "alpha3Code": "PHL", + "numericCode": 608, + "callingCode": "+63" + }, + { + "name": "Pitcairnöarna", + "alpha2Code": "PN", + "alpha3Code": "PCN", + "numericCode": 612, + "callingCode": "+64" + }, + { + "name": "Polen", + "alpha2Code": "PL", + "alpha3Code": "POL", + "numericCode": 616, + "callingCode": "+48" + }, + { + "name": "Portugal", + "alpha2Code": "PT", + "alpha3Code": "PRT", + "numericCode": 620, + "callingCode": "+351" + }, + { + "name": "Puerto Rico", + "alpha2Code": "PR", + "alpha3Code": "PRI", + "numericCode": 630, + "callingCode": "+1" + }, + { + "name": "Qatar", + "alpha2Code": "QA", + "alpha3Code": "QAT", + "numericCode": 634, + "callingCode": "+974" + }, + { + "name": "Kosovo", + "alpha2Code": "XK", + "alpha3Code": "KOS", + "numericCode": null, + "callingCode": "+383" + }, + { + "name": "Reunion", + "alpha2Code": "RE", + "alpha3Code": "REU", + "numericCode": 638, + "callingCode": "+262" + }, + { + "name": "Rumänien", + "alpha2Code": "RO", + "alpha3Code": "ROU", + "numericCode": 642, + "callingCode": "+40" + }, + { + "name": "Ryssland", + "alpha2Code": "RU", + "alpha3Code": "RUS", + "numericCode": 643, + "callingCode": "+7" + }, + { + "name": "Rwanda", + "alpha2Code": "RW", + "alpha3Code": "RWA", + "numericCode": 646, + "callingCode": "+250" + }, + { + "name": "Saint-Barthélemy", + "alpha2Code": "BL", + "alpha3Code": "BLM", + "numericCode": 652, + "callingCode": "+590" + }, + { + "name": "Sankta Helena", + "alpha2Code": "SH", + "alpha3Code": "SHN", + "numericCode": 654, + "callingCode": "+290" + }, + { + "name": "Saint Kitts och Nevis", + "alpha2Code": "KN", + "alpha3Code": "KNA", + "numericCode": 659, + "callingCode": "+1869" + }, + { + "name": "Saint Lucia", + "alpha2Code": "LC", + "alpha3Code": "LCA", + "numericCode": 662, + "callingCode": "+1758" + }, + { + "name": "Sint Maarten", + "alpha2Code": "MF", + "alpha3Code": "MAF", + "numericCode": 663, + "callingCode": "+590" + }, + { + "name": "Saint Pierre och Miquelon", + "alpha2Code": "PM", + "alpha3Code": "SPM", + "numericCode": 666, + "callingCode": "+508" + }, + { + "name": "Saint Vincent och Grenadinerna", + "alpha2Code": "VC", + "alpha3Code": "VCT", + "numericCode": 670, + "callingCode": "+1784" + }, + { + "name": "Samoa", + "alpha2Code": "WS", + "alpha3Code": "WSM", + "numericCode": 882, + "callingCode": "+685" + }, + { + "name": "San Marino", + "alpha2Code": "SM", + "alpha3Code": "SMR", + "numericCode": 674, + "callingCode": "+378" + }, + { + "name": "Sao Tome/Principe", + "alpha2Code": "ST", + "alpha3Code": "STP", + "numericCode": 678, + "callingCode": "+239" + }, + { + "name": "Saudiarabien", + "alpha2Code": "SA", + "alpha3Code": "SAU", + "numericCode": 682, + "callingCode": "+966" + }, + { + "name": "Senegal", + "alpha2Code": "SN", + "alpha3Code": "SEN", + "numericCode": 686, + "callingCode": "+221" + }, + { + "name": "Serbien", + "alpha2Code": "RS", + "alpha3Code": "SRB", + "numericCode": 688, + "callingCode": "+381" + }, + { + "name": "Seychellerna", + "alpha2Code": "SC", + "alpha3Code": "SYC", + "numericCode": 690, + "callingCode": "+248" + }, + { + "name": "Sierra Leone", + "alpha2Code": "SL", + "alpha3Code": "SLE", + "numericCode": 694, + "callingCode": "+232" + }, + { + "name": "Singapore", + "alpha2Code": "SG", + "alpha3Code": "SGP", + "numericCode": 702, + "callingCode": "+65" + }, + { + "name": "Sint Maarten", + "alpha2Code": "SX", + "alpha3Code": "SXM", + "numericCode": 534, + "callingCode": "+1721" + }, + { + "name": "Slovakien", + "alpha2Code": "SK", + "alpha3Code": "SVK", + "numericCode": 703, + "callingCode": "+421" + }, + { + "name": "Slovenien", + "alpha2Code": "SI", + "alpha3Code": "SVN", + "numericCode": 705, + "callingCode": "+386" + }, + { + "name": "Salomonöarna", + "alpha2Code": "SB", + "alpha3Code": "SLB", + "numericCode": 90, + "callingCode": "+677" + }, + { + "name": "Somalia", + "alpha2Code": "SO", + "alpha3Code": "SOM", + "numericCode": 706, + "callingCode": "+252" + }, + { + "name": "Sydafrika", + "alpha2Code": "ZA", + "alpha3Code": "ZAF", + "numericCode": 710, + "callingCode": "+27" + }, + { + "name": "Sydgeorgien och Sydsandwichöarna", + "alpha2Code": "GS", + "alpha3Code": "SGS", + "numericCode": 239, + "callingCode": "+500" + }, + { + "name": "Sydkorea", + "alpha2Code": "KR", + "alpha3Code": "KOR", + "numericCode": 410, + "callingCode": "+82" + }, + { + "name": "Sydsudan", + "alpha2Code": "SS", + "alpha3Code": "SSD", + "numericCode": 728, + "callingCode": "+211" + }, + { + "name": "Spanien", + "alpha2Code": "ES", + "alpha3Code": "ESP", + "numericCode": 724, + "callingCode": "+34" + }, + { + "name": "Sri Lanka", + "alpha2Code": "LK", + "alpha3Code": "LKA", + "numericCode": 144, + "callingCode": "+94" + }, + { + "name": "Sudan", + "alpha2Code": "SD", + "alpha3Code": "SDN", + "numericCode": 729, + "callingCode": "+249" + }, + { + "name": "Surinam", + "alpha2Code": "SR", + "alpha3Code": "SUR", + "numericCode": 740, + "callingCode": "+597" + }, + { + "name": "Svalbard och Jan Mayen", + "alpha2Code": "SJ", + "alpha3Code": "SJM", + "numericCode": 744, + "callingCode": "+4779" + }, + { + "name": "Swaziland", + "alpha2Code": "SZ", + "alpha3Code": "SWZ", + "numericCode": 748, + "callingCode": "+268" + }, + { + "name": "Sverige", + "alpha2Code": "SE", + "alpha3Code": "SWE", + "numericCode": 752, + "callingCode": "+46" + }, + { + "name": "Schweiz", + "alpha2Code": "CH", + "alpha3Code": "CHE", + "numericCode": 756, + "callingCode": "+41" + }, + { + "name": "Syrien", + "alpha2Code": "SY", + "alpha3Code": "SYR", + "numericCode": 760, + "callingCode": "+963" + }, + { + "name": "Taiwan", + "alpha2Code": "TW", + "alpha3Code": "TWN", + "numericCode": 158, + "callingCode": "+886" + }, + { + "name": "Tadzjikistan", + "alpha2Code": "TJ", + "alpha3Code": "TJK", + "numericCode": 762, + "callingCode": "+992" + }, + { + "name": "Tanzania", + "alpha2Code": "TZ", + "alpha3Code": "TZA", + "numericCode": 834, + "callingCode": "+255" + }, + { + "name": "Thailand", + "alpha2Code": "TH", + "alpha3Code": "THA", + "numericCode": 764, + "callingCode": "+66" + }, + { + "name": "Östtimor", + "alpha2Code": "TL", + "alpha3Code": "TLS", + "numericCode": 626, + "callingCode": "+670" + }, + { + "name": "Togo", + "alpha2Code": "TG", + "alpha3Code": "TGO", + "numericCode": 768, + "callingCode": "+228" + }, + { + "name": "Tokelau", + "alpha2Code": "TK", + "alpha3Code": "TKL", + "numericCode": 772, + "callingCode": "+690" + }, + { + "name": "Tonga", + "alpha2Code": "TO", + "alpha3Code": "TON", + "numericCode": 776, + "callingCode": "+676" + }, + { + "name": "Trinidad & Tobago", + "alpha2Code": "TT", + "alpha3Code": "TTO", + "numericCode": 780, + "callingCode": "+1868" + }, + { + "name": "Tunisien", + "alpha2Code": "TN", + "alpha3Code": "TUN", + "numericCode": 788, + "callingCode": "+216" + }, + { + "name": "Turkiet", + "alpha2Code": "TR", + "alpha3Code": "TUR", + "numericCode": 792, + "callingCode": "+90" + }, + { + "name": "Turkmenistan", + "alpha2Code": "TM", + "alpha3Code": "TKM", + "numericCode": 795, + "callingCode": "+993" + }, + { + "name": "Turks- och Caicosöarna", + "alpha2Code": "TC", + "alpha3Code": "TCA", + "numericCode": 796, + "callingCode": "+1649" + }, + { + "name": "Tuvalu", + "alpha2Code": "TV", + "alpha3Code": "TUV", + "numericCode": 798, + "callingCode": "+688" + }, + { + "name": "Uganda", + "alpha2Code": "UG", + "alpha3Code": "UGA", + "numericCode": 800, + "callingCode": "+256" + }, + { + "name": "Ukraina", + "alpha2Code": "UA", + "alpha3Code": "UKR", + "numericCode": 804, + "callingCode": "+380" + }, + { + "name": "Förenade Arabemiraten", + "alpha2Code": "AE", + "alpha3Code": "ARE", + "numericCode": 784, + "callingCode": "+971" + }, + { + "name": "Storbritannien", + "alpha2Code": "GB", + "alpha3Code": "GBR", + "numericCode": 826, + "callingCode": "+44" + }, + { + "name": "USA", + "alpha2Code": "US", + "alpha3Code": "USA", + "numericCode": 840, + "callingCode": "+1" + }, + { + "name": "Uruguay", + "alpha2Code": "UY", + "alpha3Code": "URY", + "numericCode": 858, + "callingCode": "+598" + }, + { + "name": "Uzbekistan", + "alpha2Code": "UZ", + "alpha3Code": "UZB", + "numericCode": 860, + "callingCode": "+998" + }, + { + "name": "Vanuatu", + "alpha2Code": "VU", + "alpha3Code": "VUT", + "numericCode": 548, + "callingCode": "+678" + }, + { + "name": "Venezuela", + "alpha2Code": "VE", + "alpha3Code": "VEN", + "numericCode": 862, + "callingCode": "+58" + }, + { + "name": "Vietnam", + "alpha2Code": "VN", + "alpha3Code": "VNM", + "numericCode": 704, + "callingCode": "+84" + }, + { + "name": "Wallis- och Futunaöarna", + "alpha2Code": "WF", + "alpha3Code": "WLF", + "numericCode": 876, + "callingCode": "+681" + }, + { + "name": "Västsahara", + "alpha2Code": "EH", + "alpha3Code": "ESH", + "numericCode": 732, + "callingCode": "+212" + }, + { + "name": "Jemen", + "alpha2Code": "YE", + "alpha3Code": "YEM", + "numericCode": 887, + "callingCode": "+967" + }, + { + "name": "Zambia", + "alpha2Code": "ZM", + "alpha3Code": "ZMB", + "numericCode": 894, + "callingCode": "+260" + }, + { + "name": "Zimbabwe", + "alpha2Code": "ZW", + "alpha3Code": "ZWE", + "numericCode": 716, + "callingCode": "+263" + } +]; From 0bc64ce8c1089754856fc7037894fe074dabaa16 Mon Sep 17 00:00:00 2001 From: Johan Lipecki Date: Tue, 5 Dec 2023 21:31:50 +0100 Subject: [PATCH 2/7] Update mat-select-country.module.ts w. swedish as supported language --- .../select-country/src/lib/mat-select-country.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts index 80ee835..5111614 100644 --- a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts +++ b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts @@ -29,7 +29,8 @@ export type MatSelectCountrySupportedLanguages = | "hu" | "it" | "nl" - | "pt"; + | "pt" + | "se"; /** * @author Anthony Nahas From 0f582cc71bf47f4a55b0b8dee3961242a6079a6f Mon Sep 17 00:00:00 2001 From: Johan Lipecki Date: Tue, 5 Dec 2023 21:36:30 +0100 Subject: [PATCH 3/7] Update mat-select-country.component.ts with Swedish case for language import --- .../select-country/src/lib/mat-select-country.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts index e51edb9..b84d743 100644 --- a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts +++ b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts @@ -485,6 +485,10 @@ export class MatSelectCountryComponent return import("./i18n/ru") .then((result) => result.COUNTRIES_DB_RU) .then((y) => y); + case "se": + return import("./i18n/se") + .then((result) => result.COUNTRIES_DB_SE) + .then((y) => y); case "uk": return import("./i18n/uk") .then((result) => result.COUNTRIES_DB_UA) From 8951590ae5b4820c8119ffbca18b063ee992aa0d Mon Sep 17 00:00:00 2001 From: Johan Lipecki Date: Tue, 5 Dec 2023 21:38:59 +0100 Subject: [PATCH 4/7] Update index.ts w. Swedish export --- .../select-country/src/lib/i18n/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts b/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts index d4cc622..7401e1d 100644 --- a/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts +++ b/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts @@ -13,4 +13,5 @@ export * from "./eu"; //Basque export * from "./nl"; export * from "./pt"; export * from "./ru"; +export * from "./se"; //Swedish export * from "./uk"; From 1452a9a565e8999d474004b0d83a5bb3b7674407 Mon Sep 17 00:00:00 2001 From: Johan Lipecki Date: Tue, 5 Dec 2023 21:46:56 +0100 Subject: [PATCH 5/7] Update README.md: ...will _be_ fetched --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0818536..627867f 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,7 @@ Result: ``` -only 5 countries will fetched! +only 5 countries will be fetched! ### Change language dynamically - use the `language` property ```html From a050b9de1cc8f778a8bd846f3628e49ce929c112 Mon Sep 17 00:00:00 2001 From: johan lipecki Date: Sat, 9 Dec 2023 10:56:34 +0100 Subject: [PATCH 6/7] update Buelarus translation --- .../select-country/src/lib/i18n/se.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts b/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts index ec625ca..6c5fe22 100644 --- a/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts +++ b/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts @@ -140,7 +140,7 @@ export const COUNTRIES_DB_SE = [ "callingCode": "+1246" }, { - "name": "Vitryssland", + "name": "Belarus", "alpha2Code": "BY", "alpha3Code": "BLR", "numericCode": 112, From d33efdb1cef7ff6719466c234d2fc9c878f3d077 Mon Sep 17 00:00:00 2001 From: johan lipecki Date: Sun, 17 Dec 2023 17:17:45 +0100 Subject: [PATCH 7/7] substituting country code se with language code sv --- .../select-country/src/lib/i18n/index.ts | 2 +- .../select-country/src/lib/i18n/{se.ts => sv.ts} | 2 +- .../select-country/src/lib/mat-select-country.component.ts | 6 +++--- .../select-country/src/lib/mat-select-country.module.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename projects/angular-material-extensions/select-country/src/lib/i18n/{se.ts => sv.ts} (95%) diff --git a/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts b/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts index 7401e1d..51381ea 100644 --- a/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts +++ b/projects/angular-material-extensions/select-country/src/lib/i18n/index.ts @@ -13,5 +13,5 @@ export * from "./eu"; //Basque export * from "./nl"; export * from "./pt"; export * from "./ru"; -export * from "./se"; //Swedish +export * from "./sv"; //Swedish export * from "./uk"; diff --git a/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts b/projects/angular-material-extensions/select-country/src/lib/i18n/sv.ts similarity index 95% rename from projects/angular-material-extensions/select-country/src/lib/i18n/se.ts rename to projects/angular-material-extensions/select-country/src/lib/i18n/sv.ts index 6c5fe22..f251fea 100644 --- a/projects/angular-material-extensions/select-country/src/lib/i18n/se.ts +++ b/projects/angular-material-extensions/select-country/src/lib/i18n/sv.ts @@ -1,4 +1,4 @@ -export const COUNTRIES_DB_SE = [ +export const COUNTRIES_DB_SV = [ { "name": "Afganistan", "alpha2Code": "AF", diff --git a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts index b84d743..2caa669 100644 --- a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts +++ b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.component.ts @@ -485,9 +485,9 @@ export class MatSelectCountryComponent return import("./i18n/ru") .then((result) => result.COUNTRIES_DB_RU) .then((y) => y); - case "se": - return import("./i18n/se") - .then((result) => result.COUNTRIES_DB_SE) + case "sv": + return import("./i18n/sv") + .then((result) => result.COUNTRIES_DB_SV) .then((y) => y); case "uk": return import("./i18n/uk") diff --git a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts index 5111614..9ba5208 100644 --- a/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts +++ b/projects/angular-material-extensions/select-country/src/lib/mat-select-country.module.ts @@ -30,7 +30,7 @@ export type MatSelectCountrySupportedLanguages = | "it" | "nl" | "pt" - | "se"; + | "sv"; /** * @author Anthony Nahas