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

timezone name: regionFormat and fallbackFormat are not consistent in root

Description

Deleted Component: other

In root, regionFormat is "({0})' where parameter 0 is the name of a country.

fallbackFormat is "{1} ({0})" where parameter 1 is the name of a country and parameter 0 is the name of a city.

Note that regionFormat encloses the name of a country with parentheses.
while the fallbackFormat does not.

ICU 4.6 uses regionFormat when a given timezone is the only timezone in a country and uses fallbackFormat if there are more than one timezones in a country.

The above inconsistency, in locales like French or German where regionFormat is not tailored, leads to the 'inconsistent' display name format depending on whether a country has a single timezone or not.

When ICU's GENERIC_LOCATION is chosen, Australia/Sydney gets
"Australie (Sydney)" while Africa/Lagos gets "(Nigéria)" in French locale. In English locale, "Austrailia (Sydney)" and "Nigeria Time".

"fr" does not override regionalFormat in root while "en" overrides it with "{0} Time".

I think in root, regionalFormat should be just "{0}" instead of "({0})" (that is, we have to drop parentheses.).

Most locales with their own regionFormat does not use parentheses. For instance, en has "{0} Time".

I realized that parentheses were introduced in , but having parentheses has its own problem as outlined above.

Environment

xpath

None

locale

None

Status

Assignee

Mark Davis

Reporter

Jungshik Shin

tracReporter

jungshik

tracOwner

mark

tracResolution

fixed

tracStatus

closed

Reviewer

Fredrik Stenshamn

tracCc

emmons,mdavis,yoshito

tracCreated

Nov 08, 2010, 11:58 PM

Fix versions

Priority

major