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

fileopen dialog box will not switch to english language

    XMLWordPrintable

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      I had this problem in former 32-bit versions regarding all languages.
      Now (JDK 9 and 10), the problem is only that no english appears,
      if I switch the locale language.
      My home country is Germany. Maybe it's different from the US point of view.

      A DESCRIPTION OF THE PROBLEM :
      Because I want to use programs supporting different languages I also want to use the swing dialog box for opening files.
      Works fine in german, french, spanish!!!!!
      But (for me) it doesn't switch to english.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Locale currLocale = new Locale("en");
      b = ResourceBundle.getBundle(itemList, currLocale);
      JComponent.setDefaultLocale(currLocale);


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JFileChooser in english
      ACTUAL -
      JFileChooser in german

      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            pardesha Pardeep Sharma
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: