Internationalization and localization tools


Culture-Sensitive C# Method

using System.Globalization

public static CompareInfo GetCompareInfo(int culture);

public static CompareInfo GetCompareInfo(string culture);

public static CompareInfo GetCompareInfo (int culture, Assembly assembly);

public static CompareInfo getCompareInfo(string culture, Assembly assembly);

Internationalization (I18n) Method Overview

Initializes a new CompareInfo object that is associated with the specified culture. The object can then be used to call methods that implement culture-sensitive string comparisons.

For more information see Microsoft's MSDN online documentation.

I18n Issues

We flag this method to ensure that the specified culture is correct for the end user. Note that InvariantCulture should not be used if you want sorting based on locale.

Culture and Number Format Information

 

Lingoport internationalization and localization services and software