Top "Cultureinfo" questions

Represents information about a specific culture including the names of the culture, the writing system, and the calendar used, as well as access to culture-specific objects that provide information for common operations, such as formatting dates and sorting strings.

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
Double.Parse - Internationalization problem

This is driving me crazy. I have the following string in a ASP.NET 2.0 WebForm Page string s = "0.009"; Simple enough. …

c# string double culture cultureinfo
Is Int32.ToString() culture-specific?

I'm running a beta version of ReSharper, and it's giving me warnings for the following code: int id; // ... DoSomethingWith(id.…

c# .net resharper cultureinfo
Programmatic way to get all the available languages (in satellite assemblies)

I'm designing a multilingual application using .resx files. I have a few files like GlobalStrings.resx, GlobalStrings.es.resx, GlobalStrings.…

c# .net localization cultureinfo
How to get country name

I used the code below to get the list of culture type, is there a way on how to get …

c#-4.0 globalization cultureinfo country
Can you get culture info string in javascript just like in .NET?

I need to get culture string from browser's language. I thought about getting it from javascript like this: var userLang = …

c# javascript asp.net cultureinfo culture
Format decimal to string in correct culture info

What is the best way to format a decimal amount to string for UI display in the correct culture info?

.net cultureinfo
DateTime.ParseExact() does not grok 24-hour time values?

This line of code: DateTime dt = DateTime.ParseExact(time, "hh:mm", CultureInfo.InvariantCulture); parses a "time" value of "12:45" just fine, …

c# datetime cultureinfo
Does DateTime.ToString("s") return always same format?

According to MSDN on DateTime.ToString ToString("s") should always return string in the format of the sortable XML Schema …

datetime tostring cultureinfo regional
creating custom CultureInfo for country, language combination

I am working on a .net 4.5 application that needs to be mult lingual supporting multi cultures etc. The following is …

c# .net cultureinfo culture currentuiculture