System.Language (gb)
Static Property Language As String
Returns or sets the current language setting.
Examples
PRINT System.Language
' Switch to Farsi
System.Language = "fa_IR"
The setting is derived from the user's environment in the following order:
-
LC_ALL if that's non-empty, otherwise
-
LANG if that's non-empty, or otherwise
-
"en_US" is used as a final resort.
The above means that environment settings for LANGUAGE or LC_LANGUAGE and the like are ignored.