Internationalization and localization tools


Culture-Sensitive C# Method

using System

public string ToUpper();

public string ToUpper(CultureInfo culture);

Internationalization (I18n) Method Overview

The ToUpperr method returns a copy of this String converted to uppercase, using the casing rules of either the passed in culture, or the current culture on most platforms.

For more information see Microsoft's MSDN online documentation.

I18n Issues

On Silverlight, and starting with .NET Framework 4.0, ToUpper() uses the casing rules from the invariant culture (which is English with no country/region) instead of the current culture (CultureInfo.CurrentCulture). This will result in this method having a different behavior on these platforms. Therefore, use the String.ToUpper(CultureInfo) overload to ensure that the desired culture is used, regardless the platform.

Culture and Number Format

 

Lingoport internationalization and localization services and software