Discussion:
[Aspell-user] Confituring spell chick in multi language documents
Mahesh T. Pai
2011-07-07 15:39:45 UTC
Permalink
How to configure aspell to check multiple languages in same document?

I tried using en & ml, and failed.

I am aware of the multi dictionaries, but a query in another mailing
list tried me to make this.

The operating system is Debian, testing, default configuration, aspell
version 0.60.6 from experimental.

This what I tried.

Strategy 1.

1. created an entry in $HOME/.aspell.conf:- single line with

master custom.multi

2. Created "custom.multi in /usr/lib/aspell/ with the following two lines:-

add en.multi
add ml.multi

This failed. So, switched to strategy 2.

Strategy 2:-

In $HOME/.aspell.conf,

extra-dicts ml.multi
extra-dicts en.multi

Tried either one, or both.

But things fail - if the entry points to only one of en.multi or
ml.multi, things go fine, but words in only one language are checked
at one point of time.

I tried this both from the command line (aspell --check foo.txt) and
from within gedit. (where I had tried creating en_IN.multi instead of
custom.multi - here I get "English (India) as an option, but Malayalam
words are not checked and there is some error about either not being
able to select default language or find the Malayalam dictionary).

What am I doing wrong?

Probably, I can edit one of the *.multi files already in
/usr/lib/aspell, but that is really not a solution - since from a
sysadmin PoV, I want either a user specific configuration in the
user's home directory, or a system wide cofniguration which does not
involve modification of distro installed files.
--
Mahesh T. Pai ||
It's not the software that's free; it's you.
Kevin Atkinson
2011-07-08 08:45:05 UTC
Permalink
Post by Mahesh T. Pai
How to configure aspell to check multiple languages in same document?
I'm afraid you can't. It is a long standing feature request that might
get implemented someday. Unfortunately, it is not a straightforward task.
Mahesh T. Pai
2011-07-08 10:48:53 UTC
Permalink
Subject: [Aspell-user] Confituring spell chick in multi language documents
*****

Eeek!!!!

Obviously, no spill chequer can substitute for the human mind.

:-D
--
Mahesh T. Pai ||
Half knowledge is worse than ignorance.
--Thomas B. Macaulay
Loading...