[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Myspell packaging



Hi,

FYI, OOo can use any unique name so you could easily change the names of all 
of the en_GB.dic/.aff to en-GB.dic/.aff and OOo would care worth a damn as 
long as you register it under that name in the dictionary.lst.

So why not simpoly change the names of the dictionaries to fit what Mozilla 
seems to need and forget about all of the symlinks for the names of the 
dictionaries.

You would still need to hide thesaurus and hyphenation dics though.

Kevin

On Wednesday 10 December 2003 12:35, Hans Öfverbeck wrote:
> I have an idea for an alternate method to give Mozilla access to the
> MySpell dictionaries it can use:
>
> As far as I understand the present method is:
> A symlink
> /usr/lib/mozilla/components/myspell -> /usr/share/myspell/dicts/
> which makes all .aff and .dic files available to Mozilla.
> To convince Mozilla to show something
> else than e.g. en_GB in its menus symlinks like:
> en-GB.aff -> en_GB.aff
> are needed.
>
> As I see it this method has the following problem:
> In Mozilla's spell checking dialogue box all files in
> /usr/lib/mozilla/components/myspell/
> with suffix .dic appear, even things Mozilla doesn't understand,
> like en_GB, and can't use, like hyph_en_GB.
>
> My idea is therefore to make
> /usr/lib/mozilla/components/myspell
> a real directory containing appropriately named symlinks e.g.:
> /usr/lib/mozilla/components/myspell/en-GB.aff ->
> /usr/share/myspell/dicts/en_GB.aff
> This makes it possible to only show Mozilla the files it understands and
> can use.
>
> Comments ?
>
> Regards
> Hans Öfverbeck



Reply to: