Issue 58530 - Modified locale values aren't recognized by OOo
Summary: Modified locale values aren't recognized by OOo
Status: CLOSED DUPLICATE of issue 51662
Alias: None
Product: Internationalization
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1.5
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-27 23:10 UTC by Michael Osipov
Modified: 2007-06-08 14:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
locale change w/ TB example (76.04 KB, image/png)
2005-11-27 23:10 UTC, Michael Osipov
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Osipov 2005-11-27 23:10:21 UTC
You can easily reproduce this problem:

my locale is de_DE in windows XP, I changed the date to ISO and the
numerformatting to ISO/DIN recommendation. check out the screenshot.

type a date into a Calc cell and it formats not in my custom set date.
the preset date for de_DE is wrong anyway, legal date formatting in EU and DE is
ISO8601.
same applies for inserting a date field in writer.

other, "windows-native" apps like Thunderbird do this right. check screenshot.
Comment 1 Michael Osipov 2005-11-27 23:10:48 UTC
Created attachment 31840 [details]
locale change w/ TB example
Comment 2 Michael Osipov 2005-11-27 23:16:08 UTC
same applies for numberformatting.

preferred formatting is # ###,00
usage of a 10³ separator besides space is strongly deprecated by ISO/DIN/PTB

OOo doesn't choose this formatting with my altered locale nor there is a preset
for nor I can create my own preset.
Comment 3 philipp.lohmann 2007-05-09 07:36:06 UTC
pl->fst: This could be a calc issue or framework, I'm not sure. Somehow the
correct locale settings do not seem to get used.
Comment 4 Michael Osipov 2007-05-09 09:17:39 UTC
Just as a reminder.

This is not a calc issue. This goes through the entire OOo system.
BAsicly what OOo does is the same wrong approach the JVM does (), it checks - at
least in windows - the name of the locale (e.g. de_DE) and retrieves all
necessary  information from whithin OOo. Means all locales have been defined
anew in OOo which is superfluous because windows already has those.
Second it works with the builtin only and completely ignores what I have set as
you see on the screenshot in all elements of the app!

your issue now is to draw all relevant locale formatting directly from windows
and NOT from your own set!
Comment 5 Michael Osipov 2007-05-09 09:18:38 UTC
Java bug I was refering to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4514389
Comment 6 kpalagin 2007-05-25 19:51:22 UTC
I think this issue is dup to http://qa.openoffice.org/issues/show_bug.cgi?
id=51662.
Please close, if it is and vote for 51662.
Comment 7 Michael Osipov 2007-05-26 01:13:19 UTC
it's not really a dupe. the bug you posted is a subset of my bugreport. he
states that OOo doesnt respect system's separator and he's damn right.
I state that OOo completely ignores all system locale setting.
Comment 8 kpalagin 2007-05-26 06:25:37 UTC
Confirming with 2.2 on WinXP - as described.
Comment 9 frank 2007-06-08 14:18:40 UTC
Basically a double to Issue 51662. See ER's latest comment on it. He states that
it's a new feature / functionality to take the Systemsettings. So this Issue
here is covered.

Frank

*** This issue has been marked as a duplicate of 51662 ***
Comment 10 frank 2007-06-08 14:20:11 UTC
closed double