auto-lang.el is a minor mode that tries to find out the language of the current buffer/paragraph. It can set the ispell dictionary (see InteractiveSpell) accordingly and switch on flyspell (see FlySpell) for you.

Supported languages are French, Spanish, Italian, Portugese, Danish, Swedish, Polish, Latvian, German and English, but it’s easy to add support for a new language by introducing a new wordlist. If you have done so, please contribute it back.

See also: AutoDictionaryMode


The original is by Colin Marquardt and available from here:

I should add support for iso-8859-15 to be used with a dictionary definition like this:

 (add-to-list 'ispell-dictionary-alist
                "[']" t
                ("-C" "-d" "ndeutsch")
                "~latin1" iso-8859-15))


CategorySpelling CategoryModes CategoryInternationalization GuessBufferLanguage GuessLang WikiSpell