Official Content

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

Syntax

GetLanguage()

Scope

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

Description

GeneXus allows the same application to be generated in multiple languages. You can read more about this topic at GeneXus Application Localization.

The GetLanguage() function returns the currently active Language object Name.

Samples

The most common use is to set a variable with the currently active Language object Name as in the following example.

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

See Also

Language object
SetLanguage function


Last update: March 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant