JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data

OwnerNaoto Sato
Created2011/07/15 20:00
Updated2014/07/10 20:31
TypeFeature
StatusCompleted
Componentcore-libs / java.util:i18n
ScopeJDK
Discussioni18n dash dev at openjdk dot java dot net
EffortM
DurationL
Priority4
Endorsed byBrian Goetz
Release8
Issue8046117
Relates to7056110: (tz) Support timezone names from CLDR including generic names
4207993: RFE: Date formatting should support embedded forms of month names
6336885: RFE: Locale Data Deployment Enhancements
6383647: Existing locale data in Java should be customizable
7058206: Provide CalendarData SPI for week params and display field value names

Summary

Create a tool to convert LDML (Locale Data Markup Language) files into a format usable directly by the runtime library, define a way to package the results into modules, and then use these to incorporate the de-facto standard locale data published by the Unicode Consortium's CLDR project into the JDK.

Description

Testing

Need to verify that the installed locale data is correctly returned via locale-sensitive APIs such as DateFormat/NumberFormat, etc.

Risks and Assumptions

Since the JDK's collation API does not yet support the Unicode Collation Algorithm, on which LDML is based, collation data contained in LDML files will not be supported.

Impact