I wanted aspell to check for words both in the english and polish dictionary, so I put in my config file:
[EMAIL PROTECTED]:~$ cat ~/.aspell.conf | grep -v "^#" add-extra-dicts pl [EMAIL PROTECTED]:~$ When I run it on a file, it does: [EMAIL PROTECTED]:~$ cat sample-file This is a file with text po polsku tutaj jest napisane. [EMAIL PROTECTED]:~$ aspell -c sample-file Unhandled Error: Expected language "pl" but got "en". Aborted While this command works correctly: [EMAIL PROTECTED]:~$ aspell --lang=pl -c sample-file I've got both polsih and english dictionaries installed: [EMAIL PROTECTED]:~$ ls /usr/lib/aspell/ american.alias canadian.alias en_CA-w-accents.multi english.alias en_US-only.rws polish.alias american-w-accents.alias canadian-w-accents.alias en_GB.multi en.multi en_US-w-accents.multi british.alias en_CA.multi en_GB-only.rws en-only.rws pl.multi british-w-accents.alias en_CA-only.rws en_GB-w-accents.multi en_US.multi pl.rws [EMAIL PROTECTED]:~$ And my locale are: [EMAIL PROTECTED]:~$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= [EMAIL PROTECTED]:~$ There was a problem like that reported about one year ago on this list, but remained unanswered: http://article.gmane.org/gmane.comp.gnu.aspell.user/336/match=unhandled+error+expected+language -- Miernik _________________________ xmpp:[EMAIL PROTECTED] ___________________/__ tel: +48888299997 __/ mailto:[EMAIL PROTECTED] http://www.miernik.ctnet.pl/ _______________________________________________ Aspell-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/aspell-user
