<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Idea%20to%20fix%20%22Way%20too%20many%20languages%20to%20choose%20from%0A%20for%20spell%20checking%20in%20FF%20and%20TB%22%20mga%236125&In-Reply-To=%3C4FEB47CC.6050001%40xs4all.nl%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016934.html">
   <LINK REL="Next"  HREF="016939.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125</H1>
    <B>Marja van Waes</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Idea%20to%20fix%20%22Way%20too%20many%20languages%20to%20choose%20from%0A%20for%20spell%20checking%20in%20FF%20and%20TB%22%20mga%236125&In-Reply-To=%3C4FEB47CC.6050001%40xs4all.nl%3E"
       TITLE="[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125">marja11 at xs4all.nl
       </A><BR>
    <I>Wed Jun 27 19:50:04 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016934.html">[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125
</A></li>
        <LI>Next message: <A HREF="016939.html">[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16936">[ date ]</a>
              <a href="thread.html#16936">[ thread ]</a>
              <a href="subject.html#16936">[ subject ]</a>
              <a href="author.html#16936">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 27/06/2012 19:13, Dimitrios Glentadakis wrote:
&gt;<i>
</I>&gt;<i> Le 27 juin 2012 08:16, &quot;Marja van Waes&quot; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">marja11 at xs4all.nl</A>
</I>&gt;<i> &lt;mailto:<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">marja11 at xs4all.nl</A>&gt;&gt; a &#233;crit :
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; On 27/06/2012 01:38, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">n54 at gmx.com</A> &lt;mailto:<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">n54 at gmx.com</A>&gt; wrote:
</I>&gt;<i>  &gt;&gt;
</I>&gt;<i>  &gt;&gt; Hello!
</I>&gt;<i>  &gt;&gt;
</I>&gt;<i>  &gt;&gt; I have got an idea to fix this bug with a new drak tool (DrakSpell?). It
</I>&gt;<i>  &gt;&gt; would be an assistant with a list of all available languages with all
</I>&gt;<i>  &gt;&gt; their variants to select and install. And the trick: it will install a
</I>&gt;<i>  &gt;&gt; package (like hunspell-en) and remove (rm -f) the unselected dicts
</I>&gt;<i>  &gt;&gt; (en_CA, en_GB ...).
</I>&gt;<i>  &gt;&gt;
</I>&gt;<i>  &gt;&gt; This seems to be against rules.. but would be a solution. And this seems
</I>&gt;<i>  &gt;&gt; to be much better than producing (and maintaining!) 1000 packages with
</I>&gt;<i>  &gt;&gt; single dicts.
</I>&gt;<i>  &gt;&gt;
</I>&gt;<i>  &gt;&gt; What do you think?
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; Sounds great, I'm willing to test :)
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; As a workaround for now, can we just remove all
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; /usr/share/hunspell/*.aff
</I>&gt;<i>  &gt; /usr/share/hunspell/*.dic
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; except for the ones we want to keep?
</I>&gt;<i>
</I>&gt;<i> I would like to delete these disctionnaries but i do nt know how, i have
</I>&gt;<i> 16 variet&#233;s of english and i found only a couple of files for english. I
</I>&gt;<i> think en and en_ca , i am not 100% sure because i am not at home now.
</I>&gt;<i> However, if there is a solution to delete manualy the dictionnaries , it
</I>&gt;<i> is fine for me.
</I>&gt;<i>
</I>
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 -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_AG.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_AU.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_AU.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BS.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BS.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BW.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BW.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BZ.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_BZ.dic -&gt; 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 -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_DK.dic -&gt; 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 -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_GH.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_HK.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_HK.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_IE.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_IE.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_IN.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_IN.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_JM.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_JM.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NA.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NA.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NG.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NG.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NZ.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_NZ.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_PH.aff -&gt; en_US.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_PH.dic -&gt; en_US.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_SG.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_SG.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_TT.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_TT.dic -&gt; 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 -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_ZA.dic -&gt; en_GB.dic
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_ZW.aff -&gt; en_GB.aff
lrwxrwxrwx 1 root root       9 mai   23 17:50 en_ZW.dic -&gt; en_GB.dic


</PRE>









































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016934.html">[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125
</A></li>
	<LI>Next message: <A HREF="016939.html">[Mageia-dev] Idea to fix &quot;Way too many languages to choose from for spell checking in FF and TB&quot; mga#6125
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16936">[ date ]</a>
              <a href="thread.html#16936">[ thread ]</a>
              <a href="subject.html#16936">[ subject ]</a>
              <a href="author.html#16936">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>