Share via


ULocale.GetISOLanguages Method

Definition

Returns a list of all unique language codes defined in ISO 639.

[Android.Runtime.Register("getISOLanguages", "()[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetISOLanguages ();
[<Android.Runtime.Register("getISOLanguages", "()[Ljava/lang/String;", "", ApiSince=24)>]
static member GetISOLanguages : unit -> string[]

Returns

String[]
Attributes

Remarks

Returns a list of all unique language codes defined in ISO 639. They can be 2 or 3 letter codes, as defined by BCP 47, section 2.2.1. Can be used to create Locales. [NOTE: ISO 639 is not a stable standard-- some languages' codes have changed. The list this function returns includes both the new and the old codes for the languages whose codes have changed.]

Java documentation for android.icu.util.ULocale.getISOLanguages().

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