共用方式為


Locale.GetISOLanguages Method

Definition

Returns a list of all 2-letter language codes and some of 3-letter codes defined in ISO 639.

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

Returns

String[]

An array of ISO 639 language codes.

Attributes

Remarks

Returns a list of all 2-letter language codes and some of 3-letter codes defined in ISO 639. Can be used to create Locales.

<b>Note:</b> <ul> <li>ISO 639 is not a stable standard&mdash; 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. <li>The Locale class also supports language codes up to 8 characters in length. Therefore, the list returned by this method does not contain ALL valid codes that can be used to create Locales. </ul>

Java documentation for java.util.Locale.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