JDK-4112924 : RFE: Localized time zone display names
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version:
    1.2beta3,4.0,1.1.2,1.1.8,1.2.0,1.3.0,1.3.1,1.3.1_01 1.2beta3,4.0,1.1.2,1.1.8,1.2.0,1.3.0,1.3.1,1.3.1_01
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS:
    generic,other,linux,solaris_2.5.1,solaris_2.6,solaris_8,windows_nt generic,other,linux,solaris_2.5.1,solaris_2.6,solaris_8,windows_nt
  • CPU: generic,other,x86,sparc
  • Submitted: 1998-02-18
  • Updated: 2000-12-04
  • Resolved: 2000-11-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.3.1 ladybirdFixed 1.4.0Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Name: bb33257			Date: 02/17/98

Java Enhancement Request

 Name:          Localized time zone display names
 Priority:      High
 Submitted On:  2/17/98
 Contact:       Alan Liu, IBM JTC  
                ###@###.### 650-335-6651

Background

Currently, the JDK only contains English display names for time zone objects. Other systems such as Windows 95/NT provide localized names
for time zones. The JDK should contain localized time zone names, at the very least for the time zones in common usage in each locale.

Note that this API change request is not related to the request for a getDisplayName() method in TimeZone. Even without an exposed API,
users still see display names for time zones when they use SimpleDateFormat.format().

Proposed API

None. This is a resource data change only.

Implementation

Simple, once the data is obtained.

Risk assessment

Minimal risk.

SQE (product testing) impact

Little or no testing impact; some unit tests may be required to prove correct display name localization.

JCK (compatibility testing) impact

Little or no testing impact; some unit tests may be required to prove correct display name localization.

Doc impact

None.

======================================================================
al.smith@eng 2000-12-04

Test Failure is included in regression tests: java/text/Format

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: ladybird merlin-beta FIXED IN: ladybird merlin-beta INTEGRATED IN: ladybird merlin-beta VERIFIED IN: ladybird
14-06-2004

WORK AROUND Name: bb33257 Date: 02/17/98 ======================================================================
11-06-2004

EVALUATION Is this really RFE? I think this is bug. Anyway, there are still several problems that need to be cleared up in kestrel. 1. DateFormatZoneDate_<LOCALE>.java does not contains localized time zone name for the locale below. These data should have, at least, one most used localized time zone name for that locale. 2. DataFormatZoneData_en.java has many entries that's commented out. These names should be moved to DataFormatZoneData.java (default to any locale) and be checked the correctness. This will save some of time zone name, that currently displayed as 'GMT[+-]hh:mm' when calling TimeZone().getDisplayName(). grep -n Africa DateFormatZoneData_*.java /dev/null DateFormatZoneData_ar.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_be.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_bg.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_ca.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_cs.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_da.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_de.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_de_AT.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_de_CH.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_el.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_es.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_et.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_fi.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_fr.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_fr_BE.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_fr_CA.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_fr_CH.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_hr.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_hu.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_is.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_it.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_it_CH.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_iw.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_ko.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_lt.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_lv.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_mk.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_nl.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_nl_BE.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_no.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_no_NO_NY.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_pl.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_pt.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_ro.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_ru.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sh.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sk.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sl.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sq.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sr.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_sv.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_tr.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_uk.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_zh.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names DateFormatZoneData_zh_TW.java:74: {"Africa/Casablanca", "GMT", "GMT", "GMT", "GMT"} // To be filled in with localized time zone names koushi.takahashi@japan 1999-08-09 Currently, English time zone display names are defined in DateFormatZoneData_en.java. Those should go to DateFormatZoneData.java and the rest should be handled by localizations. masayoshi.okutsu@Eng 1999-08-10 DateFormatSymbols.getZoneStrings() only returns current locale data as in #4261506. Unless that's taken the fix for DataFormatZoneData won't work. koushi.takahashi@japan 1999-08-10 Currently, changing DateFormatZoneData_en.java affects a JCK test. The English locales with region (e.g, *_en_US.java) must be changed to avoid this JCK problem. masayoshi.okutsu@Eng 2000-06-19 This JCK problem was fixed by Kestrel (Win32) FCS. See 4282899. masayoshi.okutsu@Eng 2000-06-30 In Ladybird, English names of all the time zones supported by J2SE (~300) are provided. Separate RFE(s) will be filed for localization. masayoshi.okutsu@Eng 2000-10-20
30-06-2000