Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

System.Language (gb)

Static Property Language As String

Returns or sets the current language setting.

Examples

PRINT System.Language
en_GB.UTF-8

' Switch to Farsi
System.Language = "fa_IR"

The setting is derived from the user's environment in the following order:
  1. LC_ALL if that's non-empty, otherwise

  2. LANG if that's non-empty, or otherwise

  3. "en_US" is used as a final resort.

The above means that environment settings for LANGUAGE or LC_LANGUAGE and the like are ignored.