Skip to content

Sys_GetLocaleLanguageID

Returns the locale ID (LCID) that the script runs with, and sets gsLanguage to the name of the language.

Sys_GetLocaleLanguageID() As Boolean

The locale ID is stored in giValue, for example 1030 for Danish or 1033 for English (United States).

The name of the language is stored in gsLanguage, for example DANISH, ENGLISH, German or French. If the locale isn’t one the library recognizes, gsLanguage isn’t changed.

If bStatus Then bStatus = Sys_GetLocaleLanguageID()
If bStatus Then bStatus = Job_Writelog("Custom", "gsLanguage: " & gsLanguage, bStatus, True)

Scripting Guidelines

Sys_BreakthruMsgbox Job_SetLanguage Constants Package Property Variables