0

When the user has an en-US Windows 7 version, the "CultureInfo.InstalledUICulture" function reports back en-US even when you have installed a different language pack (such as nl-NL). Is there a .NET/PInvoke method to get the language the current user is actually using (preferably as a CultureInfo class)? I also can't rely on the CultureInfo.CurrentUICulture as this can be changed by the user.

Machavity
  • 30,841
  • 27
  • 92
  • 100
The Cookies Dog
  • 1,915
  • 2
  • 22
  • 38

1 Answers1

1

Use "GetUserDefaultUILanguage" with:

CultureInfo.GetCultureInfo(GetUserDefaultUILanguage());

The Cookies Dog
  • 1,915
  • 2
  • 22
  • 38