To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79372
Issue #|79372
Summary|Cannot switch to a UI other than "Default"
Component|ui
Version|OOo 2.2.1
Platform|PC
URL|
OS/Version|Windows, all
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P1
Subcomponent|ui
Assigned to|sba
Reported by|anbrx
------- Additional comments from [EMAIL PROTECTED] Sun Jul 8 20:34:43 +0000
2007 -------
Because I cannot switch to a UI other than "Default", I'm unable to
switch to the Swedish UI!
.
The problem has been recreated on both "Windows XP Home Edition" and
on "Windows Server 2003", using the OpenOffice.org Writer application.
.
The problem has been recreated using the following packages, referred
to as a), b) and c):
a) OOo_2.2.1_Win32Intel_install_wJRE_en-US.exe from
http://ftp.services.openoffice.org/pub/OpenOffice.org/stable/2.2.1/
b) OOo_2.2.0_Win32Intel_install_wJRE_sv.exe from
http://ftp.services.openoffice.org/pub/OpenOffice.org/localized/sv/2.2.0/
c) OOo_2.2.0_Win32Intel_langpack_sv.exe från
http://ftp.services.openoffice.org/pub/OpenOffice.org/localized/sv/2.2.0/
.
The packages a), b) and c) has been used in different combinations.
After each combination was tested, it was removed using:
1. A complete uninstall using the Control Panel's uninstall applet
2. Deletion of the "OpenOffice.org2" folders inside the
"C:\Documents and Settings" folder tree.
3. Deletion of all keys named "OpenOffice" in the registry.
_____________________________________________________________________
I began my research on a US English version of "Windows Server 2003",
installed on a standard desktop PC.
First, I installed a) only.
Problem recreation:
1. select menu - Tools->
Options...->
Language Settings->
Languages->
Language of - User interface->
and change UI from "Default" to "English (USA)".
2. Close the menu and reopen to confirm that the change is still there.
3. Exit OOo including QuickStart and then restart OOo Writer.
4. Open the menu setting and the UI is once again "Default".
.
Second, after removing a) using the methods described above, I
installed b) only.
I recreated the problem exactly like in a), only this time I tried
switching from "Default" to "Swedish (Sweden)".
(in swedish: from "Standard" to "Svenska (Sverige)")
.
Third, after removing b) using the methods described above, I
installed first a), and then c) on top of it.
Problem recreation:
1. select menu - Tools->
Options...->
Language Settings->
Languages->
Language of - User interface->
and change UI from "Default" to "Swedish (Sweden)".
2. Close the menu and reopen to confirm that the change is still there.
3. Exit OOo including QuickStart and then restart OOo Writer.
4. Open the menu setting and the UI is once again "Default".
Note that THE HELP STATES THE FOLLOWING: "The default entry applies to
the locale setting that was selected for the operating system."
Now that's complete nonsense, since every single setting in my
operating system is indeed set to Swedish and/or Sweden,
but the OOo Writer UI still persiverses to "English (USA)".
_____________________________________________________________________
At this point it could well be argued, that the reason I couldn't switch
the UI to anything other than "Default" was, in the case of a) and b)
alone, somehow a design issue, since there was no secondary language,
and in the case of a) and c) on top of it, an incompatibility issue
since a) is version 2.2.1 and c) is 2.2.0 ...
.
So i decided to take the experiment one step further by using
a laptop with the SWEDISH version of "Windows XP Home Edition" installed.
Again, I installed first a), and then c) on top of it.
There was an IMMEDIATE difference: the UI was SWEDISH.
I opened the menu setting and the UI selection was "Default"(or in native
swedish: "Standard"). I tried switching to "English (USA)", but
the previous problem was exposed EXACTLY like in ALL the other
installations: it's IMPOSSIBLE to switch to a UI other than "Default"!
.
Only THIS TIME, I could ADD a problem: it would seem that the Help
should RATHER state THE FOLLOWING: "The default entry applies to
the LANGUAGE VERSION OF the operating system."
...or WHAT...???
_____________________________________________________________________
It was time to go to the bottom of what was going on. Using the excellent
Filemon tool from Sysinternals, I could quickly identify the file that
contains the UI setting: Linguistic.xcu in C:\Documents and
Settings\Administrator\Application Data\OpenOffice.org2
\user\registry\data\org\openoffice\Office\
.
As it turned out, the UI setting is CORRECTLY SAVED to Linguistic.xcu,
but then PROMPTLY REMOVED, along with ALL other language settings,
at the next OOo start.
.
BUT it's more GENERAL than that: it's actually enough to just OPEN the
menu - Tools->Options...->Language Settings->Languages section and
hit the OK button to have OOo update the Linguistic.xcu with the DEFAULT
language settings, and the next time OOo starts it will remove THE LOT,
leaving just a tiny Linguistic.xcu .
.
Some experimenting revealed that the UI setting in Linguistic.xcu
has the following syntax(example for en-US):
.
<?xml ...
<oor:component-data ...
...
<node oor:name="General">
...
<prop oor:name="UILocale" oor:type="xs:string">
<value>en-US</value>
</prop>
...
</node>
...
</oor:component-data>
.
Armed with this knowledge, I created a Linguistic.xcu that contained
ONLY the following lines(notice the UI selection for Swedish):
_____________________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic"
oor:package="org.openoffice.Office">
<node oor:name="General">
<prop oor:name="UILocale" oor:type="xs:string">
<value>sv</value>
</prop>
</node>
</oor:component-data>
_____________________________________________________________________
When I started OOo Writer, the UI was... SWEDISH!
And as long as I left the menu...Languages section alone, it KEPT being
swedish... and as soon as I tried changing ANYTHING in the menu...Languages
section, it reverted back to "Default" meaning "English (USA)".
.
CONCLUSION: Something that is saved from the menu...Languages section
into the Linguistic.xcu file, makes OOo vomit and delete ALL language settings.
.
If you can't solve the problem with this much detailed analysis, you
should be doing something else :)
.
Regards, Anders B
---------------------------------------------------------------------
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]