tmalsburg / guess-language.el

Emacs minor mode that detects the language you're typing in. Automatically switches spell checker. Supports multiple languages per document.
115 stars 14 forks source link

Dutch ? #9

Closed dingesista closed 7 years ago

dingesista commented 7 years ago

The table of languages that are currently supported by guess-language-mode mentions: Dutch nl de

Should that not be Dutch nl nl_NL?

tmalsburg commented 7 years ago

Fixed, thanks.

tmalsburg commented 7 years ago

By the way, on my system it's Dutch nl nederlands. We need a way to guess the correct name of the dictionary. It's a shame that ispell/aspell/flyspell don't use standard names.

rien333 commented 5 years ago

So the fact I had to change "nederlands" to "dutch" in the following statement in guess-language.el is not really a bug, but rather the consequence of stuff not being normalized all to well?


(defcustom guess-language-langcodes
  '((ar . ("ar"         nil))
    (cs . ("czech"      "Czech"))
    (da . ("dansk"      nil))
    ...
    (nl . ("nederlands" nil)) # changed this to dutch to work
    ...
    (sv . ("svenska"    nil)))
  "Language codes for spell-checker and typo-mode.
tmalsburg commented 5 years ago

Different spell-checkers apparently use different names for their dictionaries. Not sure where there is a clean way to deal with this automatically.