Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions mappings.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
}
Loading