-
Enhancement
-
Resolution: Fixed
-
P4
-
5.0
-
b32
-
generic
-
generic
Name: nl37777 Date: 03/12/2004
The locale data in the sun.text.resources package contains
simple translatable strings (the names of languages, countries, and
time zones) as well as highly structured data (lists of symbols, format
patterns, localized pattern characters). This has repeatedly caused
bugs because translators don't know which strings to translate and
which to leave alone.
To simplify translation, the translatable strings should be moved into
separate resource bundles that are properties files or simple list
resource bundles, and the remaining information consolidated into
LocaleElements. Information about aliases and sort order of time zones
should be in LocaleElements, not in the bundle containing time zone
names.
Having the names in flat resource bundles also allows the
simplification of the name lookup in the Locale class.
======================================================================
- relates to
-
JDK-6257228 (lc) JCK test cases for java.util.Locale fail in Mustang b32
-
- Resolved
-
-
JDK-4965694 Too many char[] allocations with sun.text.resources.LocaleElements
-
- Closed
-
-
JDK-7029868 Extending ListResourceBundle has no effect
-
- Closed
-