On 27/06/2012 19:13, Dimitrios Glentadakis wrote:
Le 27 juin 2012 08:16, "Marja van Waes" <[email protected]
<mailto:[email protected]>> a écrit :
>
> On 27/06/2012 01:38, [email protected] <mailto:[email protected]> wrote:
>>
>> Hello!
>>
>> I have got an idea to fix this bug with a new drak tool (DrakSpell?). It
>> would be an assistant with a list of all available languages with all
>> their variants to select and install. And the trick: it will install a
>> package (like hunspell-en) and remove (rm -f) the unselected dicts
>> (en_CA, en_GB ...).
>>
>> This seems to be against rules.. but would be a solution. And this seems
>> to be much better than producing (and maintaining!) 1000 packages with
>> single dicts.
>>
>> What do you think?
>
>
>
> Sounds great, I'm willing to test :)
>
> As a workaround for now, can we just remove all
>
> /usr/share/hunspell/*.aff
> /usr/share/hunspell/*.dic
>
> except for the ones we want to keep?
I would like to delete these disctionnaries but i do nt know how, i have
16 varietés of english and i found only a couple of files for english. I
think en and en_ca , i am not 100% sure because i am not at home now.
However, if there is a solution to delete manualy the dictionnaries , it
is fine for me.
Firefox seems to get all the languages it sees from /usr/share/hunspell/
It is mostly links in that folder, the ones I had for English are shown
below. I just removed a lot of such links, and after restarting Firefox,
my list of languages to choose from was much shorter. All the removed
ones have disappeared. I haven't restarted Thunderbird yet, so I don't
know whether the effect will be the same there
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_AG.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_AG.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_AU.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_AU.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BS.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BS.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BW.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BW.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BZ.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_BZ.dic -> en_GB.dic
-rw-r--r-- 1 root root 3115 mars 20 02:30 en_CA.aff
-rw-r--r-- 1 root root 535896 mars 20 02:30 en_CA.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_DK.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_DK.dic -> en_GB.dic
-rw-r--r-- 1 root root 27471 mars 20 02:29 en_GB.aff
-rw-r--r-- 1 root root 527336 mars 20 02:29 en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_GH.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_GH.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_HK.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_HK.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_IE.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_IE.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_IN.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_IN.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_JM.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_JM.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NA.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NA.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NG.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NG.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NZ.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_NZ.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_PH.aff -> en_US.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_PH.dic -> en_US.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_SG.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_SG.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_TT.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_TT.dic -> en_GB.dic
-rw-r--r-- 1 root root 3115 mars 20 02:30 en_US.aff
-rw-r--r-- 1 root root 534077 mars 20 02:30 en_US.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_ZA.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_ZA.dic -> en_GB.dic
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_ZW.aff -> en_GB.aff
lrwxrwxrwx 1 root root 9 mai 23 17:50 en_ZW.dic -> en_GB.dic