Official Content

Returns the Name (not the Description) of the currently active Language object.

Syntax

GetLanguage()

Scope

Objects: ProcedureTransactionWeb PanelPanelData Provider
Generators: .NET, .NET Framework, JavaApple, Android, Angular

Samples

The most common use is to set a variable of your own with the currently selected Language as in the following example. The variable &MyLanguage holds the value of the currently active Language. It is also shown on the screen as a Combo Box allowing the user to select any other languages available.

Event Start
    &MyLanguage = GetLanguage()
    ...
EndEvent

See Also

Language
SetLanguage function




Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant