Bug#283948: [Dict-common-dev] [Fwd: Bug#283948: PLease integrate squirrelmail with dictionaries-common]

Thijs Kinkhorst kink@squirrelmail.org
Tue, 22 Feb 2005 16:41:16 +0100 (CET)


Hello Agustin,

>> Default is currently stored in /etc/dictionaries-common/ispell-default
>> (created by a script, not intended for edition) or in debconf,
>
> I did not mention that, but if you need those values in any special format
> anywhere in the filesystem, we could arrange for that. That is probably
> simpler than forcing you to use defaults in the above format. As a matter
> of fact that is what we currently do for {x}emacs and jed.

SquirrelSpell (the spelling plugin for SquirrelMail (a popular webmail
application)) presents the user with a list of the installed dictionaries
and allows a choice between those. Currently, the admin has to configure
in sqspell_config.php which dictionaries are available and which should be
the default.

In Debian the default can now be easily read from
/etc/dictionaries-common/ispell-default, which is very useful. Invoking a
script in another programming language (Perl) next to our current PHP
scripts doesn't seem like the way to go for me.

Perhaps it would be possible to create a plain textfile just like
ispell-default, ie ispell-available, which has a number of lines in the
same format as ispell-default which can be easily read by any application
wanting to use that information, no Perl modules required.

We could certainly use that in a really straightforward manner, and I
guess that there could be demand for this simple format from other
applications aswell.

Please let me know if this is possible, or if you suggest an alternative
way to go, preferably without requiring us to execute scripts.

Thanks,
Thijs Kinkhorst
SquirrelMail developer / Debian comaintainer