Lines Matching defs:locale

43      * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)}
45 * @param locale the display locale
49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
53 * formatted for the provided locale, using the provided
56 * @param locale the display locale
61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
67 * for the provided locale, using the provided UDisplayContext settings.
69 * @param locale the display locale
76 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
82 * Returns the locale used to determine the display names. This is
83 * not necessarily the same locale passed to {@link #createInstance}.
84 * @return the display locale
106 * Returns the display name of the provided locale.
107 * @param locale the locale whose display name to return
108 * @param result receives the locale's display name
109 * @return the display name of the provided locale
112 virtual UnicodeString& localeDisplayName(const Locale& locale,
116 * Returns the display name of the provided locale id.
117 * @param localeId the id of the locale whose display name to return
118 * @param result receives the locale's display name
119 * @return the display name of the provided locale
125 // names for components of a locale id
177 * Returns the display name of the provided locale key.
178 * @param key the locale key name
179 * @param result receives the locale key's display name
180 * @return the display name of the provided locale key
188 * @param key the locale key name
189 * @param value the locale key's value
198 inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& locale) {
199 return LocaleDisplayNames::createInstance(locale, ULDN_STANDARD_NAMES);