Current: ICultureInfo;
The Current property returns culture of the current application stream.
This property returns the language and regional settings, which were set in operating system regional settings on Prognoz Platform 9 startup. 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: