SetLanguage

This function sets the language of the project to one of the languages configured in the Translation Table.

Function Group Execution Windows Embedded Thin Client
SetLanguage Translation Synchronous Supported Supported Supported

Syntax

SetLanguage(numLanguageCode)
numLanguageCode
The code for the langauge that you want to set as the current translation. The language must already be configured in the Translation Table.

Returned value

This function returns the following possible values:
Value Description
0 Error
1 Success

Notes

Language codes are defined by ISO 639-1.

Examples

Set the language to "English – United States":
SetLanguage( 1033 )
Set the language to "French – France":
SetLanguage( 1036 )