<i18n dev> [11] RFR: 8181157: CLDR Timezone name fallback implementation
Naoto Sato
naoto.sato at oracle.com
Tue Apr 17 21:28:16 UTC 2018
Hello,
Please review the changes to the following issue:
https://bugs.openjdk.java.net/browse/JDK-8181157
The proposed fix is located at:
http://cr.openjdk.java.net/~naoto/8181157/webrev.05/
This RFE is to implement CLDR time zone names fallback mechanism [1].
Prior to this fix, time zone names are substituted with English names.
With this change, it is generated according to the logic defined in TR
35. Here are the highlight of the changes:
CLDRConverter:
- CLDRConverter has changed to not substitute/invent time zone display
names, except English bundle for compatibility & runtime performance.
- For English bundle, copy over COMPAT's names as before.
- CLDRConverer now parses regionFormat/gmtZeroFormat/exemplarCity
CLDR provider:
- CLDRTimeZoneNameProviderImpl is introduced to generate fallback names
at runtime.
- If COMPAT provider is present, use it also as a fallback, before the
last resort (GMT offset format)
Naoto
[1] http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Zone_Names
More information about the i18n-dev
mailing list