Compartir a través de


ULocale.GetDisplayLanguageWithDialect Method

Definition

Overloads

GetDisplayLanguageWithDialect(ULocale)

<strong>[icu]</strong> Returns this locale's language localized for display in the provided locale.

GetDisplayLanguageWithDialect(String, ULocale)

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.

GetDisplayLanguageWithDialect(String, String)

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.

GetDisplayLanguageWithDialect(ULocale)

<strong>[icu]</strong> Returns this locale's language localized for display in the provided locale.

[Android.Runtime.Register("getDisplayLanguageWithDialect", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetDisplayLanguageWithDialect (Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayLanguageWithDialect", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetDisplayLanguageWithDialect : Android.Icu.Util.ULocale -> string

Parameters

displayLocale
ULocale

the locale in which to display the name.

Returns

the localized language name.

Attributes

Remarks

<strong>[icu]</strong> Returns this locale's language localized for display in the provided locale. If a dialect name is present in the data, then it is returned.

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

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

GetDisplayLanguageWithDialect(String, ULocale)

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.

[Android.Runtime.Register("getDisplayLanguageWithDialect", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayLanguageWithDialect (string? localeID, Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayLanguageWithDialect", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayLanguageWithDialect : string * Android.Icu.Util.ULocale -> string

Parameters

localeID
String

the id of the locale whose language will be displayed.

displayLocale
ULocale

the locale in which to display the name.

Returns

the localized language name.

Attributes

Remarks

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. If a dialect name is present in the data, then it is returned. This is a cover for the ICU4C API.

Java documentation for android.icu.util.ULocale.getDisplayLanguageWithDialect(java.lang.String, android.icu.util.ULocale).

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

GetDisplayLanguageWithDialect(String, String)

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.

[Android.Runtime.Register("getDisplayLanguageWithDialect", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayLanguageWithDialect (string? localeID, string? displayLocaleID);
[<Android.Runtime.Register("getDisplayLanguageWithDialect", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayLanguageWithDialect : string * string -> string

Parameters

localeID
String

the id of the locale whose language will be displayed

displayLocaleID
String

the id of the locale in which to display the name.

Returns

the localized language name.

Attributes

Remarks

<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. If a dialect name is present in the data, then it is returned. This is a cover for the ICU4C API.

Java documentation for android.icu.util.ULocale.getDisplayLanguageWithDialect(java.lang.String, java.lang.String).

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