My .Net program gives me a wrong value for CultureInfo.CurrentCulture. The value is de-de but my system is en-us. This is the obvious test program:
static void Main(string[] args)
{
string language = CultureInfo.CurrentCulture.TwoLetterISOLanguageName;
}
I follow these instructions when I look at my Windows language settings:
- Click Start, then Control Panel. Click Clock, Language and Region.
- Windows 10: Click Region. ... Click the Administrative tab. ...
- Under the Language for non-Unicode programs section, click "Change system locale and select the desired language".
It shows "English (United Stated)" as expected. My Windows is English too, e.g. the explorer menu.
What can be the reason that the .Net program comes up as German?