Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

SetLanguage

  • Last UpdatedOct 29, 2026
  • 1 minute read

SetLanguage is a built-in function that sets the project translation to one of the languages configured in the Translation Table.

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

SetLanguage

Translation

Synchronous

No

Supported

Supported

Not supported

Supported

Supported

Syntax

SetLanguage(numLanguageID)

SetLanguage ( numLanguageID )

numLanguageID

The ID number of the language that you want to set as the active translation. The language must be already configured in the Translation Table worksheet, and the ID number is shown in parentheses next to that language — for example, "English-United States (1033)". For more information about the ID number, see Notes below.

Return value

This function returns one of the following possible values:

Value

Description

0

Error

1

Success

Notes

The Translation Table uses Microsoft Locale ID (LCID) values to identify languages. Microsoft changed how it handles language identifiers in older versions of Windows, which effectively deprecated LCID in the operating system, but we hardcoded the values into this software and continue to use them in order to maintain compatibility across all platforms and with existing projects.

This function is supported on x86 architectures on IoT View, but not on ARM architectures.

Examples

Set the language to "French-France (1036)":

SetLanguage(1036)

Set the language to "Portuguese-Brazil (1046)":

SetLanguage(1046)

In This Topic