I have WPF application which launches web apps. I want to have a spell check for the Finnish language. By default spell check for English is there. I have written the below code to add support to the Finnish language.
Cef.UIThreadTaskFactory.StartNew(delegate
{
var browser = (sender as ChromiumWebBrowser);
var requestContext = browser.GetBrowserHost().RequestContext;
requestContext.SetPreference("browser.enable_spellchecking", true, out _);
requestContext.SetPreference("spellcheck.dictionaries", new List<string> { "en-US", "fi-FI" }, out _);
});
When I set this code, there are below problems
Basically spell check is available for those languages of which dictionary is present, refer https://github.com/cvsuser-chromium/third_party_hunspell_dictionaries Also, I have asked a question on CEF Forum if we can add missing languages, refer post here - https://magpcss.org/ceforum/viewtopic.php?f=10&t=17852#p46719
For now, there is no support for the Finnish language "fi-FI".