Udostępnij za pośrednictwem


Locale.ISO3Language Property

Definition

Returns a three-letter abbreviation of this locale's language.

public string ISO3Language { [Android.Runtime.Register("getISO3Language", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getISO3Language", "()Ljava/lang/String;", "")>]
member this.ISO3Language : string

Property Value

A three-letter abbreviation of this locale's language.

Attributes

Exceptions

if there's no 3-letter language code for this locale.

Remarks

Returns a three-letter abbreviation of this locale's language. If the language matches an ISO 639-1 two-letter code, the corresponding ISO 639-2/T three-letter lowercase code is returned. The ISO 639-2 language codes can be found on-line, see "Codes for the Representation of Names of Languages Part 2: Alpha-3 Code". If the locale specifies a three-letter language, the language is returned as is. If the locale does not specify a language the empty string is returned.

Java documentation for java.util.Locale.getISO3Language().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to