[imp] spell check problem
ANANT S ATHAVALE
asa at isac.gov.in
Thu Dec 12 03:56:09 UTC 2013
----- Message from Michael M Slusarz <slusarz at horde.org> ---------
Date: Wed, 11 Dec 2013 20:33:09 -0700
From: Michael M Slusarz <slusarz at horde.org>
Subject: Re: [imp] spell check problem
To: imp at lists.horde.org
> Quoting ANANT S ATHAVALE <asa at isac.gov.in>:
>
>> ----- Message from Michael M Slusarz <slusarz at horde.org> ---------
>> Date: Wed, 11 Dec 2013 20:23:54 -0700
>> From: Michael M Slusarz <slusarz at horde.org>
>> Subject: Re: [imp] spell check problem
>> To: imp at lists.horde.org
>>
>>> Quoting ANANT S ATHAVALE <asa at isac.gov.in>:
>>>
>>>> Dear List,
>>>>
>>>> I am finding that, every time imp is using different language for
spell
>>>> check and it is failing (IMP 6.1.6)
>>>>
>>>> Dec 04 2013 13:48:23 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='fr'
>>>> --ignore='2' [pid 16470 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 05 2013 15:22:05 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='it'
>>>> --ignore='2' [pid 16486 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 05 2013 15:23:56 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='ro'
>>>> --ignore='2' -H --rem-html-check=alt [pid 16470 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 05 2013 15:28:04 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='it'
>>>> --ignore='2' -H --rem-html-check=alt [pid 16468 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 05 2013 15:36:50 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='da'
>>>> --ignore='2' -H --rem-html-check=alt [pid 16584 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 06 2013 10:05:02 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='ha'
>>>> --ignore='2' [pid 14854 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 09 2013 12:00:35 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='tl'
>>>> --ignore='2' -H --rem-html-check=alt [pid 4653 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 09 2013 13:36:02 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='vi'
>>>> --ignore='2' [pid 14079 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 10 2013 11:02:47 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='pt'
>>>> --ignore='2' -H --rem-html-check=alt [pid 14077 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 10 2013 15:26:24 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='sl'
>>>> --ignore='2' -H --rem-html-check=alt [pid 4651 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 11 2013 11:10:15 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='cy'
>>>> --ignore='2' -H --rem-html-check=alt [pid 4656 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>> Dec 11 2013 12:51:06 ERR: HORDE [imp] Spellcheck failed. Command line:
>>>> /usr/bin/aspell -a --encoding=UTF-8 --sug-mode=fast --lang='ha'
>>>> --ignore='2' -H --rem-html-check=alt [pid 4652 on line 91 of
>>>> "/usr/share/pear/Horde/SpellChecker/Aspell.php"]
>>>>
>>>> Why is it so?
>>>
>>> It's using whatever language value the user is telling it to use.
>>>
>>> michael
>>>
>>> ___________________________________
>>> Michael Slusarz [slusarz at horde.org]
>>>
>>> --
>>> imp mailing list
>>> Frequently Asked Questions: http://wiki.horde.org/FAQTo unsubscribe,
>>> mail: imp-unsubscribe at lists.horde.org
>>
>> ----- End message from Michael M Slusarz <slusarz at horde.org> -----
>>
>> Dear Michael,
>>
>> I have already locked the preferences in Horde as below in
>> prefs.local.php
>>
>> $_prefs['location']['locked'] = true;
>> $_prefs['language']['value'] = 'en_US';
>> $_prefs['language']['locked'] = true;
>> $_prefs['sending_charset']['value'] = 'UTF-8';
>> $_prefs['sending_charset']['locked'] = true;
>> $_prefs['timezone']['value'] = 'Asia/Kolkata';
>> $_prefs['timezone']['locked'] = true;
>
> These have nothing to do with the spelling charset. See
> horde/config/nls.php
>
> michael
>
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQTo unsubscribe,
> mail: imp-unsubscribe at lists.horde.org
----- End message from Michael M Slusarz <slusarz at horde.org> -----
Dear Micheal,
Setting the following in nls.local.php seems to have solved the issue.
$horde_nls_config = array(
/* Defaults */
'defaults' => array(
/* The language to fall back on if we cannot determine one
any other
* way (user choice or preferences). If empty, we will try
to
* negotiate with the browser using HTTP_ACCEPT_LANGUAGE.
*/
'language' => 'en_US',
.......
--
Regards
Anant
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------
More information about the imp
mailing list