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

i18n tool: Update ConvertLocaleData tool to be compatible with CLDR 1.4 released in July 2006

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • globalization

      ConvertLocaleData tool needs to be modified to be compatible with CLDR1.4, which will be released in July 2006.

      --- Below is the comment from Peter Nugent-------
      CLDR 1.4 is to be released this month. There are a few changes you should know about and for which you will have to make modifications your tool :
      /net/jano.sfbay/export/disk12/i18n/ws/ConvertLocaleData

      the changes are as follows :

      Data for minDays, firstDay and measurementSystem have been deprecated in the main locale data files in http://unicode.org/cldr/data/common/main (and hence ldml.dtd) moved to http://unicode.org/cldr/data/common/supplemental/supplementalData.xml.

      This is because this data is not locale dependent. These elements are still in ldml.dtd for backwards compatability but are commented as being deprecated and should not be used. All data is now in supplementalData.xml so you will not be able to retrieve it from its old location.

      BTW, Metadata on deprecated items in ldml.dtd is stored in :
      http://unicode.org/cldr/data/common/supplemental/supplementalMetadata.xml
      (look for <deprecated>)

      I have a class for reading supplementalData for OO.o which you might be able to use :
      http://unicode.org/cldr/data/tools/java/org/unicode/cldr/ooo/supplementalData.java
      if using jdk 1.5.0 or later, you will need xalan.jar in your classpath as this class uses XPathAPI.

            yyamasaksunw Yuriko Yamasaki (Inactive)
            yyamasaksunw Yuriko Yamasaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: