SetLanguage

The function SetLanguage sets the project translation to one of the languages configured in the Translation Table.

Function Group Execution Windows Embedded Thin Client Mobile Access
SetLanguage Translation Synchronous Supported Supported Supported Not supported

Syntax

  SetLanguage(numLanguageID)  
Web Studio Help ons translation setlanguage.xml d448689e105 SetLanguage

numLanguageID
The locale ID 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 one of the following possible values:
Value Description
0 Error
1 Success

Notes

Locale IDs are the proprietary language/region codes used in Microsoft Windows. For more information, go to: msdn.microsoft.com/library/ms912047

Examples

Set the language to “French – France”:
  SetLanguage(1036)  
Set the language to “Portuguese – Brazil”:
  SetLanguage(1046)  

SetLanguage