We're updating the issue view to help you get more done. 

Resolve capitalization data/structure

Description

For background and details, see https://docs.google.com/document/d/1z8gtBLbWzYk9KUKGJMS9YwOMpdOZEj6lw8AtxMOsfNw/edit?usp=sharing

  1. Whenever you display the name of a locale in itself—in practice—you have to call LocaleDisplayNames.getInstance each time. That seems inefficient. I recommend adding the following:

    1. public String localeDisplayName(ULocale locale, ULocale inLocale);

  2. We should deprecate LocaleDisplayNames getInstance(locale, dialectHandling) since it is confusing, and people can just use LocaleDisplayNames getInstance(locale, DisplayContext.DIALECT_NAMES)

  3. The Capitalization types in the ICU API don’t seem to match the CLDR data. It is unclear where that CLDR data otherwise shows up in the API. The DisplayContext shows up just in

    1. LocaleDisplayNames, DateFormat, NumberFormat, RelativeDateTimeFormatter, RuleBasedNumberFormat

Environment

Status

Assignee

Mark Davis

Reporter

Mark Davis

Time Needed

Days

tracCreated

Jan 28, 2015, 1:53 PM

tracOwner

mark

tracProject

all

tracReporter

mark

tracStatus

design

tracWeeks

0.5

Components

Priority

assess