I am trying to use the Windows built-in spell checker in my c++ app. I am going through the official spell check client sample found here.
When running the sample, ISpellCheckerFactory::get_SupportedLanguages
returns 4 languages for my machine: en-CA, en-LR, en-PH and en-US. ISpellCheckerFactory::CreateSpellChecker
returns the Windows built-in spell checker, as can be seen by calling ISpellChecker::get_Id
and ISpellChecker::get_LocalizedName
which return "MsSpell" and "Microsoft Windows Spellchecker", respectively.
Where do those 4 languages come from? How can I install more spell check languages for the built-in spell checker? Can my application request Windows to install new spell check languages for the MsSpell provider?
The MSDN doc doesn't seem to have any info around the built-in spell check provider. I have tried adding new languages in my Windows settings, changing the "default" language, and adding keyboard inputs, but no matter what I try, the list of supported spell check languages does not change.
You can add a new language (France) and install basic typing. I test on Windows 10 17763 using official sample Spell Checking Client, it works.
Before install the new language:
After install the new language: