I use a few programs that do spellchecking via hunspell
, but they seem to check against US English. It'd be beaut if they'd use Australian English (maaaaybe UK English if there's Buckley's of Strine).
My language-related environment variables look right:
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
I've fossicked about for any hunspell-en-au|gb|etc
packages, but they seem to have gone bush in 14.04. What's the fix?
G'day mate! There are actually a few
myspell
dictionaries that the Hunspell engine will happily use. I'm British and I found it frightfully upsetting when a filthy Canadian dictionary kept overriding my native tongue. I don't know why you colonial types can't just learn English rather than trying to break it...Anyway, you probably just need to install the
myspell-en-au
package.Failing that, there is an OpenOffice addon dictionary. You can download this, extract it (rather than installing it) and copy out the
en_AU.dic
and stick it up your/usr/share/hunspell/dicts/
directory.For clarification, my
/usr/share/myspell/
directory is full of symlinks to/usr/share/hunspell/
and/usr/share/hyphen
(part of theopenoffice.org-hyphenation
package). It seems —at least in terms of packaging dictionary files— the two projects have been merged which sort of makes sense as Hunspell is compatible with the same dictionaries.