get_language
Return the currently selected language.
def get_language() - > string
Return the currently selected language.
Returns
| Type | Description |
|---|---|
string | The language code of the currently active translation object, or the default language code defined in settings if no active translation is found. |