Share via


Locale.Language Property

Definition

Gets the language name or code.

public:
 property System::String ^ Language { System::String ^ get(); };
public string Language { get; }
member this.Language : string
Public ReadOnly Property Language As String

Property Value

Remarks

This value may vary between platforms.

For Android this used the ISO 639 alpha-2 or alpha-3 language code, or registered language subtags up to 8 alpha letters (for future enhancements). When a language has both an alpha-2 code and an alpha-3 code, the alpha-2 code must be used.

For iOS and Windows this uses the BCP-47 language code.

Applies to