Locale.GetISOLanguages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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— 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.