ICultureInfo.Language

Syntax

Language: String;

Description

The Language property returns the name of the culture's language in English.

Example

Sub UserProc;
Var
    CF: ICultureInfo;
Begin
    CF := CultureInfo.UserDefault;
    Debug.WriteLine(CF.Language);
    Debug.WriteLine(CF.LocalizedLanguage);
    Debug.WriteLine(CF.NativeLanguage);
    Debug.WriteLine(CF.ThreeLetterISOLanguageName);
    Debug.WriteLine(CF.ThreeLetterWindowsLanguageName);
    Debug.WriteLine(CF.TwoLetterISOLanguageName);
End Sub UserProc;

On executing the example the current culture determined in the operating system will be obtained. The development environment console displays various language names and codes that are used to determine culture language.

See also:

ICultureInfo