Returns current language code, selected by customer in the frontend.

Syntax

$dummy = CFO_GetActiveLanguage();

Typical use: Detect current language to show formula texts.
The code returned is defined in each language in menu “System > Localisation > Languages”
You can see this function working in a complete demo: Language support in formula messages