Internationalization and localization tools


Culture-Sensitive VB.NET Method

using System

Public Shared Function Format(format As String, arg0 As Object) As String

Public Shared Function Format(format As String, ParamArray args As Object()) As String

Public Shared Function Format(provider As IFormatProvider, format As String, ParamArray args As Object()) As String

Public Shared Function Format(format As String, arg0 As Object, arg1 As Object) As String

Public Shared Function Format(format As String, arg0 As Object, arg1 As Object, arg2 As Object) As String

Internationalization (I18n) Method Overview

Replaces each format item in a specified String with the text equivalent of a corresponding object's value.

See Microsoft's MSDN online documentation for more information.

I18n Issues

If passing in culture-sensitive objects for string insertion (such as a date), a CultureInfo object will need to be used to ensure that conversion to a string is done according to the desired Culture.

Culture and Number Format Information

 

Lingoport internationalization and localization services and software