UserDefault: ICultureInfo;
The UserDefault property returns settings of the culture used in the operating system.
The property returns the language and regional settings, which were set in operating system regional settings.
Sub UserProc;
Var
CF: ICultureInfo;
Begin
CF := CultureInfo.UserDefault;
Debug.WriteLine(CF.NativeCountry);
Debug.WriteLine(CF.NativeLanguage);
End Sub UserProc;
On executing the example the development environment console window displays the name of the country and the language, which are set in operating system regional settings.
See also: