In this migration guide, we describe the changes in the API between 7.26 and 7.27.

Spell Checker

Configuring Languages


To configure dictionaries used for spell checking use SpellChecker.dictionaryNames(String...) method. On Linux and Windows, Chromium will download the configured dictionaries in background.

spellChecker.dictionaryNames("de", "en-AU");


There are two new methods to manage languages in SpellChecker service:

spellChecker.removeLanguage(Language.of("en", "au"));

The behavior of these methods is different in different operating systems. On macOS, Chromium uses spellchecking configuration and dictionaries provided by the OS. On Windows and Linux, Chromium manages spellchecking on its own.

The addLanguage method, on Linux and Windows, downloads the dictionaries and blocks the current thread until they are loaded. On macOS, this method only checks if the necessary dictionaries are available in the system.

The removeLanguage method, on Linux and Windows, excludes the language from the spellchecking. On macOS, this method does nothing.

Getting Languages


To get the list of dictionaries used for spell checking use the dictionaryNames method:

List<String> supportedDictionaries = spellChecker.dictionaryNames();


To get the list of spellcheck languages use languages method:

List<Language> supportedLanguages = spellChecker.languages();
Go Top