Top "Currentculture" questions

a Thread property in the .NET System.

Get current language in CultureInfo

How to identify the operating system's language using CultureInfo? E.g. if the language in Windows is set to French, …

c# globalization cultureinfo currentculture
Use "real" CultureInfo.CurrentCulture in WPF Binding, not CultureInfo from IetfLanguageTag

In my case: I have a TextBlock Binding to a property of type DateTime. I want it to be displayed …

c# wpf binding currentculture
How to set CultureInfo.CurrentCulture?

Using: Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture.ToString()); I get "en-US". What should I change in my control panel settings ( …

c# cultureinfo currentculture
C# doubles show comma instead of period

I almost have the same problem as the guy in this thread: Convert Float that has period instead of comma? …

c# currentculture
CultureInfo.CurrentCulture is giving me the wrong culture

I'm trying to get my clients' country, so I use CultureInfo.CurrentCulture. Problem is that when my Canadian customers use …

c# cultureinfo currentculture
WinRT apps and Regional settings. The correct way to format dates and numbers based on the user's regional settings?

I'm having some problems in Windows 8 Metro apps (XAML & C#) regarding the user's regional settings. It seems that the …

c# xaml windows-runtime currentculture windows-store-apps
When should I specify CurrentCulture or InvariantCulture and when should I leave it unspecified?

What is the best practice for specifying CurrentCulture or InvariantCulture and not specifying the culture at all? From what I …

c# globalization culture cultureinfo currentculture
DateTime.Parse using culture en-us, despite web.config setting

Question: in web.config in section system.web I have <globalization culture="de-ch" uiCulture="de-ch" requestEncoding="UTF-8" responseEncoding="UTF-8"/&…

asp.net datetime web-config datetime-format currentculture