What is Locale and Culture in .NET framework?

The .NET Framework uses the terminology "culture" to represent what might have traditionally been called the "locale". The .NET Framework has two concepts of the active culture.

Culture, which is indicated by the Thread.CurrentCulture property, corresponds by default to the selection in Regional Options in the control panel. This affects how numbers, dates, and times are formatted, and is also what determines which sorting and casing rules to use. This is the property we are concerned with here.

UICulture, which is indicated by the Thread.CurrentUICulture property, corresponds by default to the language of the operating system, or the selected language on a multi-language version of Microsoft® Windows®. This affects which resources get loaded, so it determines which strings and pictures the user sees. This is not the property we are concerned with in this case.

No comments:

Post a Comment