Internationalization and localization tools


C# Type Conversion

using System.ComponentModel

public Object ConvertFrom(Object value);

public Object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value);

Internationalization (I18n) Method Overview

The ConvertFrom method provides a unified way of converting types of values to other types, as well as for accessing standard values and sub-properties.

For more information see Microsoft's MSDN online documentation.

I18n Issues

Pass in CultureInfo to ensure that any culture-dependent conversion is done properly. If you determine that the call is i18n-safe, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.

C# Type Conversions

 

Lingoport internationalization and localization services and software