Language detection in "com.sun.deploy.panel.ControlPanel" is plain wrong.

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.6.0_18"
      Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
      Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

      no j2ee, no asadmin in my path.

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Professional Version 2002 Service Pack 3

      A DESCRIPTION OF THE PROBLEM :
      I install Java on a English language system.
      The system language is firmly set to English.

      The java system control panel (com.sun.deploy.panel.ControlPanel) shows up in (horrible) Swedish. Ouch.

      I use google and find your guide:
      http://www.java.com/en/download/help/locale.xml
      The guide does not result in any change on my machine. I.e. it fails to help me.

      However, after trying everything, I find that changing the "standards and formats" makes java change its user interface language.

      Here's the trouble: The "standards and formats" setting does not and has never included UI LANGUAGE setting.

      Conclusion: Detecting UI language from "standards and formats" on Windows XP is completely wrong.

      Solution: If the XP system does not have MUI installed, then the only setting you can auto-detect UI language from is the "Language for non-unicode programs."

      The best option is to allow the user to change the language of your program explicitly, after the auto-detection (which is wrong on some systems). I could not find such an explicit language option in the Java control panel.


      Sidenote 1: I am a Swedish native, but all Swedish translations of software (including java) are horrible, so I must use English or else I don't understand anything. This bug forces me to try to understand the confused translation, which is hard work. The only alternative is to set my system to English "standards and units" !

      Sidenote 2: I am a long time developer of commercial user interface applications that have this functionality.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install java on a system with English Windows XP.
      2. Open Control Panel -> "Regional and Language Options"
      3. Set "Standards and Formats" to any non-English language supported by java (e.g. Swedish)
      4. Open Control Panel -> "Java"


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The control panel is still in English, unless I do as your documentation suggests at http://www.java.com/en/download/help/locale.xml
      ACTUAL -
      Swedish translation on my clear spoken, otherwise English, system.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Set the "standards and formats" of the whole Windows XP to "English" of some locale (e.g. USA, Trinidad, New Zealand, etc.)

      But then all my units are wrong!

            Assignee:
            Daniil Titov (Inactive)
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: