[SOLVED] Aspell problem

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

[SOLVED] Aspell problem

Post by pickle »

Hi everyone,

I'm using the aspell command line utility with my new PHP project. I know PHP can have PSpell built into it, but the server I'm working on doesn't have that, so I'm stuck doing it command line.

Anyway, the problem I'm having is that aspell is, as far as I can tell, not using the correct dictionaries. I'm in Canada, so I spell "colour" differently than in the US. So, when I spell check "I like to colour", it tells me I spelled "colour" wrong.

I called `aspell dump dicts` and it says it's using the english, english (Canadian), english (Great Britain) and english (US) dictionaries. However, when I check the Canadian and British dictionairies, they contain that word.

Any ideas on how I can get aspell to start using Canadian and British spelling? Thanks.

[ EDIT: ] I've said it before and I'll say it again - why do I always find a solution to my problem within 2 minutes of me posting it here? :) Anyway, the '-d' flag allows me to tell aspell which dictionary to use. So, I just call aspell -a -d en_CA, and everything works fine. However, I'd still like to know if I can setup Aspell so I don't have to call it using this flag.
Last edited by pickle on Mon May 30, 2005 12:17 pm, edited 1 time in total.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Well, you could help by putting [SOLVED] in the subject line.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Ah, right.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply