Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5013088

Restructure java.text and java.util locale data

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-libs
    • 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.
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: