Top "Globalization" questions

The process of making an application suitable for use for a world-wide audience, regardless of culture.

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
.NET: Are there any differences between InvariantCulture and en-US?

Given the following two cultures: CultureInfo c1 = InvariantCulture; CultureInfo c2 = new CultureInfo("en-US"); and i were to examine every piece …

.net internationalization globalization culture
Implementing internationalization (language strings) in a PHP application

I want to build a CMS that can handle fetching locale strings to support internationalization. I plan on storing the …

php internationalization globalization icu
How to Response.Cookies.Append() in ASP.Net Core 1.1?

I am trying to add Globalization to an Intranet application, using a cookie to allow users a culture preference. The …

c# cookies globalization asp.net-core-1.1
How to parse string to decimal with currency symbol?

I have no idea why this is not working: string s = "12,00 €"; var germanCulture = CultureInfo.CreateSpecificCulture("de-DE"); decimal d; if (decimal.…

c# .net string type-conversion globalization