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

getDisplayName returns wrong German translation in very many cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_20"
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
      Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Linux 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      I wrote a unit test for

      Locale l = new Locale("",[iso 3166 Country code here]);
      l.getDisplayName(Locale.GERMANY)

      which fails in many cases if compared to the list of German wikipedia via a resource file.
      It seems not all translations of country names are correct. By comparision with the german list of the "Permanent Commission for Contry Names" (see http://stagn.de) it seems the list in Wikipedia is correct.
      See http://141.74.33.52/stagn/Portals/0/080923_STAATENNAMEN_10_komplett.pdf for a German Country list.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: