Skip to content

Update country translations and fix typos - #78

Merged
tinohager merged 45 commits into
mainfrom
fix/translation-common-name
Jun 8, 2026
Merged

tinohager merged 45 commits into
mainfrom
fix/translation-common-name

Conversation

@tinohager

Copy link
Copy Markdown
Member

Bulk corrections to translations across many CountryTranslation files.

Bulk corrections to translations across many CountryTranslation files.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bulk-updates country name translations to reduce inconsistencies (notably around “official vs common” naming) and fixes various translation typos, aligning with the goal described in Issue #69. It also adds a unit test to enforce that English country translations match ICountryInfo.CommonName across all countries.

Changes:

  • Update many CountryTranslation entries across the translation catalog (including several English names) to improve consistency and correct typos.
  • Add a unit test asserting LanguageCode.EN translations match CountryInfo.CommonName.
  • Apply numerous language-specific spelling/diacritic updates across country translation files.

Reviewed changes

Copilot reviewed 177 out of 177 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
src/Nager.Country.UnitTest/TranslationTest.cs Adds a test enforcing EN translation == CommonName
src/Nager.Country.Translation/CountryTranslations/ZimbabweCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ZambiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/YemenCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/WesternSaharaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/WallisAndFutunaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/VietnamCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/VenezuelaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/VaticanCityCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/UzbekistanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/UnitedStatesVirginIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/UnitedStatesCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/UnitedKingdomCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/UnitedArabEmiratesCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TurksAndCaicosIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TurkmenistanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TurkeyCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TunisiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TrinidadAndTobagoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TokelauCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TimorLesteCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ThailandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TanzaniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TajikistanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/TaiwanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SyriaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SurinameCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SudanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SriLankaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SouthSudanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SouthKoreaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SouthAfricaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SomaliaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SolomonIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SloveniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SlovakiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SingaporeCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SierraLeoneCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SeychellesCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SerbiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaudiArabiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaoTomeAndPrincipeCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SanMarinoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SamoaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaintVincentAndTheGrenadinesCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaintPierreAndMiquelonCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaintKittsAndNevisCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaintHelenaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/SaintBarthelemyCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/RwandaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/RussiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/RomaniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ReunionCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/RepublicOfTheCongoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/QatarCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PuertoRicoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PolandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PitcairnIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PeruCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PapuaNewGuineaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PanamaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PalestineCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/PalauCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NorthMacedoniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NorthKoreaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NorthernMarianaIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NorfolkIslandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NiueCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NigeriaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NewCaledoniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/NetherlandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MyanmarCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MontenegroCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MongoliaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MonacoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MoldovaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MicronesiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MexicoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MauritiusCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MauritaniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MartiniqueCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MaltaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MaliCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MaldivesCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MadagascarCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/MacauCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LuxembourgCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LithuaniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LiechtensteinCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LiberiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LesothoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LatviaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/LaosCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/KyrgyzstanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/KuwaitCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/KiribatiCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/KenyaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/KazakhstanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/JerseyCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IvoryCoastCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IsraelCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IsleofManCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IraqCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IranCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/IndonesiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/HongKongCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/HondurasCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuyanaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuineaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuineaBissauCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuernseyCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuatemalaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuamCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GuadeloupeCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GrenadaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GreenlandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GreeceCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GibraltarCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GeorgiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/GabonCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/FrenchPolynesiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/FrenchGuianaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/FijiCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/FaroeIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/FalklandIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/EthiopiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/EswatiniCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/EstoniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/EquatorialGuineaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ElSalvadorCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/DominicanRepublicCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/DominicaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/DjiboutiCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CzechRepublicCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CyprusCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CuracaoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CroatiaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CookIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ComorosCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CocosIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ChristmasIslandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ChinaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CentralAfricanRepublicCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CaymanIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CaribbeanNetherlandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CapeVerdeCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/CameroonCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BurkinaFasoCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BruneiCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BritishVirginIslandsCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BritishIndianOceanTerritoryCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BouvetIslandCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BotswanaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BosniaandHerzegovinaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BoliviaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BhutanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BermudaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BeninCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BelarusCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BahrainCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/BahamasCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AzerbaijanCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/ArmeniaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AntiguaAndBarbudaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AntarcticaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AnguillaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AngolaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AmericanSamoaCountryTranslation.cs Translation updates/typos
src/Nager.Country.Translation/CountryTranslations/AlandIslandsCountryTranslation.cs Translation updates/typos

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Nager.Country.Translation/CountryTranslations/TanzaniaCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/GuineaCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/CameroonCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/DominicaCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/GreenlandCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/GreeceCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/LithuaniaCountryTranslation.cs Outdated
Comment thread src/Nager.Country.Translation/CountryTranslations/SouthSudanCountryTranslation.cs Outdated
tinohager and others added 25 commits June 8, 2026 12:18
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@tinohager
tinohager merged commit aadcb73 into main Jun 8, 2026
1 check passed
@tinohager
tinohager deleted the fix/translation-common-name branch June 8, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants