Skip to main content

get_language

Return the currently selected language.

def get_language() - > string

Return the currently selected language.

Returns

TypeDescription
stringThe language code of the currently active translation object, or the default language code defined in settings if no active translation is found.