Sys_GetLocaleLanguageID
Description
Section titled “Description”Returns the locale ID (LCID) that the script runs with, and sets gsLanguage to the name of the language.
Syntax
Section titled “Syntax”Sys_GetLocaleLanguageID() As Boolean
Return value
Section titled “Return value”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.
Example
Section titled “Example”If bStatus Then bStatus = Sys_GetLocaleLanguageID()If bStatus Then bStatus = Job_Writelog("Custom", "gsLanguage: " & gsLanguage, bStatus, True)Related functions
Section titled “Related functions”Sys_BreakthruMsgbox Job_SetLanguage Constants Package Property Variables