Hi, It seems that php-pspell is required with RoundCubeMail when we need to enable spell checking. This package is not available under Mageia 6. Is it possible to add it ? Regards. Eric Bouyoux.
It looks like it could be added by adding a BR aspell-devel in php and adding --with-pspell=DIR to the configure options. However, I see that php-enchant is packaged, which says: Enchant is a binder for libenchant. Libenchant provides a common API for many spell libraries: - aspell/pspell (intended to replace ispell) - hspell (hebrew) - ispell - hunspell (OpenOffice project, mozilla) - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A plugin system allows to add custom spell support. see www.abisource.com/enchant/ Which makes it sound like you might be able to use that. Can that work?
Hi, I can try but as it is RoundCube that expects a php-pspell package/plugin/???, I'm not sure it will accept this change. Regards. Eric Bouyoux.
CC: (none) => xuoy
Hi Eric, I don't know enough to know if php-enchant can do what you need, or what, if any, adjustments are needed to make to roundcubemail for that. Unfortunately our roundcubemail maintainer passed away. Hopefully this can be figured out. If not, I can try enabling pspell next time we do a PHP security update.
CC: (none) => luigiwalser, mageia, mramboAssignee: bugsquad => pkg-bugs
Hi, I've installed the php-enchant package but when I try to run the spell engine on a mail I want to send, I get (in the roundcuba log directory) : [25-Feb-2018 12:13:42 +0100]: <b88bie0s> PHP Error: Spell check engine error: Pspell extension not available in /usr/share/roundcubemail-1.2.3/program/steps/utils/spell.inc on line 50 (POST /?_task=utils&_action=spell&_remote=1&lang=fr) What is surprising is that, if I misspell a word in this email (for ex "palce" instead of "place"), then this misspelled word is underlined in red. It is probably firefox that does the job, but I'm not sure. So to anwser your question, yes, I'd like you enable pspell next time you update php if this is not too much work for you. This will make a usefull add-on work in RC. Regards. Eric Bouyoux.
I've looked into roundcube. It supports various backends. Set $config['spellcheck_engine'] = 'enchant' in your roundcoube config and the spell engine should work.
Hi, Yes, I had noticed that I had forgotten to set : $config['spellcheck_engine'] = 'enchant'; But unfortunately, I get the same error. I'm writing a post to the RC forum. Regards. Eric Bouyoux.
Resolution: (none) => INVALIDStatus: NEW => RESOLVED
And thank you for your help.
Resolution: INVALID => FIXED
Hi, I could make it work thanks to this post : https://lists.kolabsys.com/pipermail/bugzilla/2015-January/020122.html I've set from : $config['spellcheck_languages'] = array( 'fr' ,'en' ); to : $config['spellcheck_languages'] = array( 'fr_FR' ,'en_US' ); And after I've restarted my apache server, it works fine. My full config : $config['spellcheck_dictionary'] = true; $config['spellcheck_engine'] = 'enchant'; $config['spellcheck_languages'] = array( 'fr_FR' ,'en_US' ); $config['spellcheck_before_send'] = true; Eric Bouyoux.