Introduced in Feature Pack 1

Adding words to dictionaries

Add new words or phrases to the Management Center spell checker dictionary so that they 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 so that the spell checker recognizes these words and does not flag them as misspelled words.

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é.

Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > dictionaries.
  3. Open the addenda.xml file.
  4. Within the addenda.xml file, add the new words or phrases that you want the spell checker to recognize.
    The following example shows how to add the new word sampleword1 to both the English and French spell checker dictionaries and how to add the new word sampleword2 to only the English spell checker dictionary.
    <?xml version="1.0" encoding="UTF-8" ?> 
    <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 the Management Center. If the locale is not enabled, you can add the new locale for the Management Center.
    Note: Spell check does not support the following languages:
    • Japanese
    • Korean
    • Romanian
    • Simplified Chinese
    • Traditional Chinese
  5. Restart the WebSphere Application Server administration server for your changes to take effect.

What to do next