Hello Olivier!

Olivier R. wrote:

...
> I have just created the extension for french dictionaries:
> http://extensions.services.openoffice.org/project/fr-dic
> 
> I tried it with OOo 3.0m9. It seems to work.
> 
> I created the extension by looking in the danish extension provided on 
> this list previously, and I changed fields content.

Great!
You also did it right with providing 3 separate entries with different
locales for the 3 spell check dictionaries.
And the description.xml looks fine as well!


By looking at it I found just one minor thing that you be improved, but
that one does not at all effect functionality:
- Since you use the same hyphenation dictionary and thesaurus for all
  the three French locale it would be possible to have just one
  entry in the xcu file for each of those two dictionaries.

For example instead of making three entries for the hyph_fr_FR.dic you
could have simply written a single one like this

        <node oor:name="HyphDic_fr_Multi" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/hyph_fr_FR.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>fr-FR fr-LU fr-MC</value>
            </prop>
        </node>

by adding all 3 locales in the respective field. Same for the thesaurus.
But in the end it would just saves a little bit of text in the xcu file.
Thus it is also fine with the way you did it. ^_-


And many thanks for providing the extension dictionary! :-)


Kind regards,
Thomas


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

Reply via email to