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,
66 * for the provided locale, using the provided UDisplayContext settings.
68 * @param locale the display locale
75 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
80 * Returns the locale used to determine the display names. This is
81 * not necessarily the same locale passed to {@link #createInstance}.
82 * @return the display locale
104 * Returns the display name of the provided locale.
105 * @param locale the locale whose display name to return
106 * @param result receives the locale's display name
107 * @return the display name of the provided locale
110 virtual UnicodeString& localeDisplayName(const Locale& locale,
114 * Returns the display name of the provided locale id.
115 * @param localeId the id of the locale whose display name to return
116 * @param result receives the locale's display name
117 * @return the display name of the provided locale
123 // names for components of a locale id
175 * Returns the display name of the provided locale key.
176 * @param key the locale key name
177 * @param result receives the locale key's display name
178 * @return the display name of the provided locale key
186 * @param key the locale key name
187 * @param value the locale key's value
196 inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& locale) {
197 return LocaleDisplayNames::createInstance(locale, ULDN_STANDARD_NAMES);