[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aspell-user] Unhandled Error: Expected language "pl" but got "en".
From: |
Miernik |
Subject: |
[Aspell-user] Unhandled Error: Expected language "pl" but got "en". |
Date: |
Sun, 23 May 2004 01:05:14 +0200 |
User-agent: |
tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.24-1-386 (i686)) |
I wanted aspell to check for words both in the english and polish
dictionary, so I put in my config file:
address@hidden:~$ cat ~/.aspell.conf | grep -v "^#"
add-extra-dicts pl
address@hidden:~$
When I run it on a file, it does:
address@hidden:~$ cat sample-file
This is a file with text po polsku tutaj jest napisane.
address@hidden:~$ aspell -c sample-file
Unhandled Error: Expected language "pl" but got "en".
Aborted
While this command works correctly:
address@hidden:~$ aspell --lang=pl -c sample-file
I've got both polsih and english dictionaries installed:
address@hidden:~$ 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
address@hidden:~$
And my locale are:
address@hidden:~$ 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=
address@hidden:~$
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:address@hidden
___________________/__ tel: +48888299997 __/ mailto:address@hidden
http://www.miernik.ctnet.pl/
- [Aspell-user] Unhandled Error: Expected language "pl" but got "en".,
Miernik <=