Hi,
User word lists are not dictionaries. So if you look further down in the SpellCheck.cpp code you will see that user "dictionary" word lists are added to the current dictionary ie. hunspell->add().
If you want to have multiple different dictionaries open at the same time for the same document, Sigil does not currently support that. Trying to trick Sigil into doing it with a large user wordlist to represent a second language will not do the right thing either.
I will look into supporting spellcheck across multiple dictionaries and languages once more epub3 support has been added. If you need this right now for Sigil 0.8.900, then a plugin is the only approach using multiple hunspell python objects (one for each real dictionary you want to use).
Kevin
|