CurrentUi: ICultureInfo;
The CurrentUi property returns the culture of the visual interface of the application.
This property returns the language and regional parameters, which were set in language parameters of Foresight Analytics Platform.
Sub UserProc;
Var
CF: ICultureInfo;
Begin
CF := CultureInfo.CurrentUi;
Debug.WriteLine(CF.Language);
Debug.WriteLine(CF.LCID);
End Sub UserProc;
On executing the example the console window displays the language name and identifier as well as regional parameters of the platform's visual interface.
See also: