Current: ICultureInfo;
The Current property returns culture of the current application stream.
This property returns the language and regional parameters, which were determined in operating system regional settings on Foresight Analytics Platform start. The current language and regional parameters used in operating system can be obtained in the UserDefault property.
Sub UserProc;
Var
CF: ICultureInfo;
Begin
CF := CultureInfo.Current;
Debug.WriteLine(CF.NativeCountry);
Debug.WriteLine(CF.NativeLanguage);
End Sub UserProc;
On executing the example the console window displays the name of the country and the language.
See also: