Adding words to spell checker dictionaries

You can customize the Management Center spell checker dictionary to add words or phrases so that the words or phrases are no longer flagged as misspelled words. For example, you can add words that are specific to your company, such as product names, to the dictionary to avoid having the spell checker flag the words as misspelled.

The Management Center spell checker checks the spelling of text in a text editor or rich text editor that is embedded into a Management Center properties view or editable list view. The spell checker opens the Spell Check dialog to display each misspelled word within the text that a business user is editing. The business user can use the dialog to replace each misspelled work with one of the suggested words or skip the misspelled text.

The Management Center spell checker dictionary is case-sensitive. For example, if you add sampleword2 to the dictionary, you must also add the following variants to the dictionary so that they are not flagged as misspelled words:
  • SAMPLEWORD2
  • Sampleword2
  • sampleWord2

The dictionary also detects accents. For example, if frençhsamplé is added to the French spell checker dictionary, any variants of this word that do not contain accents, such as frenchsample, are flagged as misspelled words with a suggested replacement of frençhsamplé.

Note: You cannot add a dictionary.

Procedure

  1. Open HCL Commerce Developer and switch to the Enterprise Explorer view.
  2. Expand LOBTools > WebContent > WEB-INF > dictionaries
  3. Open the addenda.xml file for editing.
  4. Within the file, add any words or phrases that you want the spell checker to recognize.
    The following example shows how to add the word sampleword1 to both the English and French spell checker dictionaries. The example also shows how to add the new word sampleword2 to only the English spell checker dictionary.
    
    <dictionary>
      <word locale="en-US,fr-FR">sampleword1</word> 
      <word locale="en-US">sampleword2</word> 
    </dictionary>
    The addenda.xml file lists the available locales in a comment line. Ensure that the locale you are adding new words for is also enabled in Management Center. For more information, see Defining input languages.
    Note: Spell check does not support the following languages:
    • Japanese
    • Korean
    • Romanian
    • Simplified Chinese
    • Traditional Chinese
  5. Save and publish your changes.