Develop > Presentation layer > Management Center framework > Customize the Management Center user interface > Customizing an existing Management Center tool > Customizing the Management Center spell checker
Add 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 the 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, 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
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > dictionaries.
- Open the addenda.xml file.
- 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. Verify 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.
Spell check does not support the following languages:
- Japanese
- Korean
- Romanian
- Simplified Chinese
- Traditional Chinese
- Restart the WebSphere Application Server administration server for your changes to take effect.
What to do next
- Test the changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
- Deploy your changes to the production environment.