RegionInfo by country code returns different EnglishName

18 views Asked by At

I have a unit with this line of code

var countryName = new RegionInfo("KR").EnglishName;

if I run it on local machine the EnglishName is "Korea", but if this test is running in github, EnglishName is "South Korea" and test fails.

I tried to play around with setting another CurrentCulture for the Thread, but nothing changed.

Any suggestions how to get same result on different envs?

0

There are 0 answers