You are not logged in.

#1 2006-09-09 17:55:24

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

evolution and aspell word lists

I've just installed gnome-spell but evolution now gives me the following error:

** (evolution-2.6:3777): WARNING **: aspell error: No word lists can be found for the language "lc".

I'm in the UK so would like to be using the uk dictionary, how can I fix this?

Offline

#2 2006-09-12 01:08:45

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: evolution and aspell word lists

So, I guess you have aspell and aspell-en installed... what's the output from 'locale'?


1000

Offline

#3 2006-09-12 08:43:23

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: evolution and aspell word lists

The output from locale was

locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.iso88591

so a bit of a search found this in the wiki
http://wiki.archlinux.org/index.php/Configuring_locales
which fixed it all. Evolution spell checking runs as expected with a UK dictionary.

The only problem I now have is collation, things like ls are now ignoring case which I don't like, I assume that it is because LC_COLLATE is set to the wrong value, I've tried C and en_GB.UTF-8 but neither work. Any ideas?

Offline

#4 2006-09-29 16:51:55

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: evolution and aspell word lists

Seeing as I've just had to do this setup again after trashing my box I just thought I'd point out a little trick I've found.

As far as I can tell, evolution needs LC_ALL to be set but that overrides LC_COLLATE which I want to be left as C. To get around this I've moved the symlink from evolution to the actual binary and replaced it with the following script:

#!/bin/sh
export LC_ALL="en_GB.UTF-8"
/opt/gnome/bin/evolution-2.6

which means LC_ALL is only set for evolution and so the rest of my system can keep its default LC_COLLATE setting.

Offline

Board footer

Powered by FluxBB