Reputation: 1940
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.
Upvotes: 0
Views: 983
Reputation: 1940
Use "GetUserDefaultUILanguage" with:
CultureInfo.GetCultureInfo(GetUserDefaultUILanguage());
Upvotes: 1