Version: (using KDE KDE 3.2.2) Installed from: Debian testing/unstable Packages I'd like KMail to detect automagically the language of the e-mail I'm responding to, and set the dictionary and phrases accordingly. Well, it has been discussed before, e.g. in Bug #43349, where Daniel was encouraged to file a separate bug. I couldn't find that bug so I'm just karmawhoring or something... :-) For the implementation of it, I guess it could be worth looking at the Perl module Lingua::Ident http://search.cpan.org/dist/Lingua-Ident/ which does something like that.
I don't think your request goes far enough. Ideally, we could mix languages or reply in a different language and still have our spelling checked painlessly. We'd want it to work not just in kmail, but in all applications that provide spell checking. See: http://bugs.kde.org/show_bug.cgi?id=66516
*** Bug 140404 has been marked as a duplicate of this bug. ***
*** Bug 80587 has been marked as a duplicate of this bug. ***
This is exspecially true for the automatic macros in templates. They should be set according to the language detected - or selected. The language selection must be configureable from the UI. See related bug #141200
This feature request is still valid for KMail 2
Reassigning to kmail2
(In reply to comment #6) > Reassigning to kmail2 I was able to achieve this using emacs as an external editor (and with emacs spell-checker, of course). The magic was done by libtextcat. This can be done either on the whole text, or paragraph by paragraph. For the code, see http://os.inf.tu-dresden.de/~mp26/download/flyspell-textcat.el (I had to adapt it) So I guess it should not be difficult to implement directly into the kmail editor (?)