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

Add Dutch countryname translations to java.util.Locale

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE REQUEST :
      the dutch translations for countrynames are not present in the vm's data, the vm gives english names

      JUSTIFICATION :
      The application displays countrynames, and needs to be translated to dutch for dutch-speaking users.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      get dutch translations for countrynames (e.g. "Duitsland")
      ACTUAL -
      get english names (e.g. "Germany")

      ---------- BEGIN SOURCE ----------
      import java.util.Locale;

      public class LocaleTest {
      public static void main(String[] args) {
      // nl = Netherlands
      System.out.println(Locale.GERMANY.getDisplayCountry(new Locale("nl")));
      //prints "Germany", should be "Duitsland"

      }
      }

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      creating my own list of translations and using it in the dutch version

        Attachments

          Activity

            People

            Assignee:
            jennyh Jenny Huang (Inactive)
            Reporter:
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: