Automatically Choosing Spelling Dictionaries

One of the most commonly changed settings for EditLive! is the location of the spelling dictionary. It's not only annoying to keep the URL to the dictionary correct across different sites but it can also be difficult to support clients using different languages. Fortunately, EditLive! 6.0 introduced automatic selection of dictionaries. The correct dictionary for the user's locale is automatically selected and downloaded without needing to be specified in the configuration file.

To take advantage of this all you have to do is:

  1. Make sure that you copied the dictionaries folder into the download directory for EditLive! This should already be the case for most deployments.
  2. Remove the "jar" attribute from the spellCheck element in your configuration file.

Of course, if you want to specify a specific language regardless of the user's locale or a custom dictionary you can still specify the download location for the spelling jar as usual. Otherwise, sit back, relax and let EditLive! do all the work.

Adrian spends his days working out ways to make life easier for Ephox clients through initiatives like LiveWorks! Previously a senior engineer, he has now moved on to the fancier sounding title of CTO.

Leave a Reply