To add a custom dictionary, create a plain-text file listing supplementary dictionary entries, save it to the Content Manager server, and configure it in the SpellChecker configuration file, SpellCfg.xml.
Procedure
- To specify additional words to add to one of the SpellChecker dictionaries, create a plain-text file containing one word on each line, and ending in an empty line.
- Save this file to a location on your Content Manager server machine.
- Open the file %TRIDION_HOME%\web\WebUI\Models\CME\SpellChecker\SpellCfg.xml for editing.
- Find the
language element with the id and name attributes set to the language for which you created the file.
- Inside this element, inside its
customLex element, create a <path> subelement followed by a <files> subelement, and create one <file> subelement inside <files>.
- Set the value of
<path> to the full path to the new file.
- Set the value of
<file> to the name of the new file.
- Verify that your
<customLex> section looks as follows:
<customLex>
<path>d:\projects\spellchecker\languages\Italian</path>
<files>
<file>Myitdict.txt</file>
</files>
</customLex>
where d:\projects\spellchecker\languages\Italian is the path to your file, and Myitdict.txt is the name of your file.
- Save and close SpellCfg.xml.
- Restart IIS to apply your changes.