Jürgen Spitzmüller wrote: > > I am not sure why this tuple does not contain a Language* directly. > > Yes, indeed, this would make things much easier.
But then, the lyxrc.spellchecker_alt_lang would not work anymore, since this has to be inserted in the tuple (instead of the code). We could use a language string instead of the code and then get the language via Language::getLanguage. But this is something for later. For now, I'll commit what I have. Jürgen