Thomas Lange - Sun Germany - ham02 - Hamburg wrote:

> Hello Robert
> 
> Robert Black wrote:
> 
>> My impression is also that an "all in one" English dictionaries approach is
>> a good way to handle this issue.  One extension in the extension manager is
>> much cleaner and less confusing for users.
>> 
>> However, I thought that there is nothing to stop there being two different
>> Hyphenation dictionaries in there: one for US only, one for other locales of
>> English.  I thought it is just a matter of making an extra entry in the
>> dictionaries.xcu file for this? I am looking at the OOov3.0.0 version to
>> make this conclusion, so maybe something has changed.
> 
> Yes, that should work.
> At least with OOo 3.0.1.
> There is a fix added for a bug that may crash the Office if there was a
> hyphenation dictionary supporting more than one locale.
> See issue 94523.
> 
> With OOo 3.0.1 you should be fine with making two entries like
> 
>         <node oor:name="My_HyphDic_en_US" oor:op="fuse">
>             <prop oor:name="Locations" oor:type="oor:string-list">
>                 <value>%origin%/hyph_en_US.dic</value>
>             </prop>
>             <prop oor:name="Format" oor:type="xs:string">
>                 <value>DICT_HYPH</value>
>             </prop>
>             <prop oor:name="Locales" oor:type="oor:string-list">
>                 <value>en-US</value>
>             </prop>
>         </node>
> 
> and
> 
>         <node oor:name="My_HyphDic_en_other" oor:op="fuse">
>             <prop oor:name="Locations" oor:type="oor:string-list">
>                 <value>%origin%/hyph_en_US.dic</value>
>             </prop>
>             <prop oor:name="Format" oor:type="xs:string">
>                 <value>DICT_HYPH</value>
>             </prop>
>             <prop oor:name="Locales" oor:type="oor:string-list">
>                 <value>en-GB en-CA en-AU en-IE</value>
>             </prop>
>         </node>


Err... the secon entry should of course have looked like

            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/hyph_en_other.dic</value>
            </prop>


> 
> But you need to explicitly list all locales for the second dictionary.
> There is currently no way to specify sth. like
>   - use it for all English locales but en-US
> 
> And please be sure to take note of the entry named "About node names for
> the dictionaries" in the wiki:
> http://wiki.services.openoffice.org/w/index.php?title=Extension_Dictionaries
> 
> 
> Regards,
> Thomas
> 
> ---------------------------------------------------------------------
> 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