---------- quoting Matthias F. Brandstetter ----------
> I have two big problems with OOo-1.1-Beta2. On one machine I can
> select a dictionary language, apply my changes and spell check the
> doc in the new language, ok. But after a restart of OOo, the old
> value (English) is selected again, and I have to re-change my
> settings to check in my language again.
>
> On another machine, I select my new custom language for the spell
> checker, choose "OK" but my settings aren't saved. If I check a
> document now it's getting checked in English again. And I looked
> into the options - my settings are lost, I even don't have to
> restart the program (all other options are save ok)!

OK, I found a solution for myself: First, I had to delete (with backup 
of course) the file
/usr/local/OpenOffice.org1.1Beta2/share/registry/data/org/openoffice/Office/Linguistic.xcu
(I installed OOo from the tarball from openoffice.org).

The file
$USER_INSTALL_DIR/user/registry/data/org/openoffice/Office/Linguistic.xcu
is re-written every you exit from OOo. If you have changed the 
language and dict settings, then these new settings are saved and 
reloaded after a restart of OOo -- great! But after a re-restart the 
original settings are back :(

So I backuped the Linguistic.xcu file (in my home dir, user install of 
OOo) after the first restart with the correct settings (remember: the 
first time the settings are saved ok). Then I copied this good file 
over the old file and restarted OOo - great, user settings are back!

Ok, so I thought I change permissions and/or owner of this file, so 
that OOo can't rewrite this file after the first restart. But - can't 
explain why - the file gets overriden, even if I chown to root :(

I am afraid I have to write a small wrapper script, which copies my 
good Linguistic.xcu over the old one every time before I start OOo...

Greetings, Matthias

PS: Sorry if my explanation isn't very understandable, but I am 
somewhat tired now and have to go to bed ;)

PPS: I attached my good Linguistic.xcu file from my homedir. It's for 
a german setup, but maybe you can get an idea for other languages 
from it...

-- 
Matthias F. Brandstetter [mailto:[EMAIL PROTECTED]
listening to "Groove Salad: a nicely chilled plate of ambient beats 
and grooves. [SomaFM]"
<?xml version="1.0" encoding="UTF-8"?>
<oor:node 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="ServiceManager">
  <node oor:name="HyphenatorList">
   <prop oor:name="da-DK" oor:op="replace" oor:type="xs:string">
    <value/>
   </prop>
   <prop oor:name="de-DE" oor:op="replace" oor:type="xs:string">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
   <prop oor:name="en-US" oor:op="replace" oor:type="xs:string">
    <value/>
   </prop>
   <prop oor:name="ru-RU" oor:op="replace" oor:type="xs:string">
    <value/>
   </prop>
  </node>
  <node oor:name="LastFoundHyphenators">
   <prop oor:name="da-DK" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
   <prop oor:name="de-DE" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
   <prop oor:name="en-US" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
   <prop oor:name="ru-RU" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
  </node>
  <node oor:name="LastFoundSpellCheckers">
   <prop oor:name="de-DE" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.MySpellSpellChecker</value>
   </prop>
   <prop oor:name="en-US" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.MySpellSpellChecker</value>
   </prop>
  </node>
  <node oor:name="LastFoundThesauri">
   <prop oor:name="en-US" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.basic.Thesaurus</value>
   </prop>
  </node>
  <node oor:name="SpellCheckerList">
   <prop oor:name="de-DE" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.MySpellSpellChecker</value>
   </prop>
   <prop oor:name="en-US" oor:op="replace" oor:type="oor:string-list">
    <value/>
   </prop>
  </node>
  <node oor:name="ThesaurusList">
   <prop oor:name="en-US" oor:op="replace" oor:type="oor:string-list">
    <value/>
   </prop>
  </node>
 </node>
 <node oor:name="General">
  <prop oor:name="DefaultLocale" oor:type="xs:string">
   <value>de-DE</value>
  </prop>
  <node oor:name="DictionaryList">
   <prop oor:name="ActiveDictionaries" oor:type="oor:string-list">
    <value>standard.dic soffice.dic sun.dic IgnoreAllList</value>
   </prop>
  </node>
 </node>
</oor:node>
--
[EMAIL PROTECTED] mailing list

Reply via email to