To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80654
                 Issue #|80654
                 Summary|Java locale is set based on UI language rather than lo
                        |cale setting
               Component|framework
                 Version|680m221
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|mux2005





------- Additional comments from [EMAIL PROTECTED] Mon Aug 13 13:49:48 +0000 
2007 -------
Steps to reproduce:

1. Configure OpenOffice.org language settings (Tools/Options/Language
Settings/Languages to

User Interface: English (USA)
Locale setting: German(Germany)

2. Restart OOo, Open the attached document testlocale.odt
3. Run the enclosed Beanshell macro

Expected results:
Locale country code: DE
Decimal point: ,

Actual results:
Locale country code: US
Decimal point: .

4. Change the Language Settings like this

User Interface: German(Germany)
Locale setting: English (USA)

5. Restart OOo, load testlocale.odt
6. Run the macro

Expected results:
Locale country code: US
Decimal point: .

Actual results:
Locale country code: DE
Decimal point: ,

So clearly, the Locale setting of OOo's JVM depends on the UI language rather
than the locale setting. It should be the other way around. 
This problem affects a Java extension of ours which uses the locale-specific
decimal point. Users that use the English UI can't enter numbers properly.

I'm seeing this under Linux with m221 and Windows with 2.2.0.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to