Kentico CMS 6.0 Developer's Guide

Using the built-in spell-checker

Using the built-in spell-checker

Previous topic Next topic Mail us feedback on this topic!  

Using the built-in spell-checker

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

You can spell-check all the content on the Page and Form tabs using the built-in spell-checker:

 

devguide_clip0749

 

When you click the Spell check button, the spell-checker reads all text fields and checks their content. If it finds any typo, it shows the dialog like this:

 

devguide_clip0750

 

You can then ignore the word, add it to the dictionary or replace it with suggested word.

 

Please note: If you add a new word to dictionary it's only saved in the current session. The next time you sign in to Kentico CMS, the added words will be lost.

 

Dictionaries

 

The dictionary is used based on the currently chosen content culture. If no dictionary is available for the current content culture, the default dictionary is used. The default dictionary is specified in the CMSDefaultSpellCheckerCulture configuration key in the appSettings section of the web.config file. By default, it's set to en-US.

 

Adding addtional dictionaries

 

The dictionaries are stored in folder <web project>\App_Data\Dictionaries. If you need some additional dictionaries, you can download them from the following URLs:

 

AR-ae: http://www.kentico.com/Downloads/SpellChecker/ar-AE.zip

CS-cz: http://www.kentico.com/Downloads/SpellChecker/cs-cz.zip

DE-de: http://www.kentico.com/Downloads/SpellChecker/de-de.zip

EL-gr: http://www.kentico.com/Downloads/SpellChecker/el-gr.zip

EN-au: http://www.kentico.com/Downloads/SpellChecker/en-au.zip

EN-ca: http://www.kentico.com/Downloads/SpellChecker/en-ca.zip

EN-gb: http://www.kentico.com/Downloads/SpellChecker/en-gb.zip

EN-us: http://www.kentico.com/Downloads/SpellChecker/en-us.zip

ES-es: http://www.kentico.com/Downloads/SpellChecker/es-es.zip

ES-mx: http://www.kentico.com/Downloads/SpellChecker/es-mx.zip

FR-fr: http://www.kentico.com/Downloads/SpellChecker/fr-fr.zip

HE-il: http://www.kentico.com/Downloads/SpellChecker/he-il.zip

IT-it: http://www.kentico.com/Downloads/SpellChecker/it-it.zip

NB-no: http://www.kentico.com/Downloads/SpellChecker/nb-no.zip

NL-nl: http://www.kentico.com/Downloads/SpellChecker/nl-nl.zip

NN-no: http://www.kentico.com/Downloads/SpellChecker/nn-no.zip

PL-pl: http://www.kentico.com/Downloads/SpellChecker/pl-pl.zip

PT-pt: http://www.kentico.com/Downloads/SpellChecker/pt-pt.zip

RO-ro: http://www.kentico.com/Downloads/SpellChecker/ro-ro.zip

RU-ru: http://www.kentico.com/Downloads/SpellChecker/ru-ru.zip

TH-th: http://www.kentico.com/Downloads/SpellChecker/th-th.zip

 

and unpack them to the dic folder. Then, you should restart the website using Site Manager -> Administration -> System dialog -> click Restart application. The file name of the dictionary must match the culture code of the currently edited content - e.g. fr-fr.