diff --git a/mappings.go b/mappings.go index ec2f2d6..e7081ff 100644 --- a/mappings.go +++ b/mappings.go @@ -3968,4 +3968,39 @@ var mappings = []Mapping{ }, }, }, + // there are 2 possible alpha3 mappings for Kosovo, because there is no official ISO3166-1 code for Kosovo, + // but both XKX and RKS are used in practice. + // The order of the two mappings is important because we want to map to XKX preferredly from the country name. + { + Alpha2: "XK", + Alpha3: "XKX", + Translations: map[Language]Translation{ + "de": { + Common: "Kosovo", + Official: "Republik Kosovo", + Nationality: "Kosovarisch", + }, + "en": { + Common: "Kosovo", + Official: "Republic of Kosovo", + Nationality: "Kosovar", + }, + }, + }, + { + Alpha2: "XK", + Alpha3: "RKS", + Translations: map[Language]Translation{ + "de": { + Common: "Kosovo", + Official: "Republik Kosovo", + Nationality: "Kosovarisch", + }, + "en": { + Common: "Kosovo", + Official: "Republic of Kosovo", + Nationality: "Kosovar", + }, + }, + }, }