Editing the Spell Check Dictionary

  • Updated

Important! This article applies to the ewebedit400 editor only

Ektron provides a special screen that lets you create, update, and delete the standard dictionaries. To access this screen, use this URL: /siteroot/workarea/contentdesigner/dictionaryconfigurator/dictionaryconfigurator.aspx.

Important! Files stored in the siteroot\Workarea folder are overwritten (or deleted) when you upgrade. To avoid problems, back up the images to a folder outside the siteroot\workarea folder.

Editing eWebEdit400’s Standard Dictionaries

These topics explain how to access a screen for working with standard dictionaries, and how to update, edit, replace, and delete individual words as well as entire dictionaries. You cannot edit a word. Instead, delete a word then add the corrected version.

Accessing the Spell Check Dictionary Update Screen

Ektron provides a special screen that lets you create, update, and delete the standard dictionaries. To access this screen, use this URL: /siteroot/workarea/contentdesigner/dictionaryconfigurator/dictionaryconfigurator.aspx

If you want to remove the red text from the top of the screen, open the .aspx file and delete that text.

To use this screen, the ASP.NET user must be granted read and write permission to the following folder: siteroot\Workarea\Foundation\RadControls\Spell\TDF.

If ASP.NET user has full permission but you still cannot edit a dictionary, open the folder listed above, right click the TDF file and verify it is not read-only.                                

Adding a Word to a Dictionary

  1. Open the Dictionary Update screen. See Accessing the Spell Check Dictionary Update Screen.
  2. Click Edit Dictionary.
  3. At the Select Dictionary drop-down, choose the language of the dictionary you want to update.
  4. In the Add a word field in the lower right corner of the screen, enter the word to add.
  5. Click Add.

Tip! Enter the word you just added into the Find Word field and click Find to verify that the word was successfully added.
                               

Deleting a Word from a Dictionary

  1. Open the Dictionary Update screen. See Accessing the Spell Check Dictionary Update Screen
  2. Click Edit Dictionary.
  3. At the Select Dictionary drop-down, choose the language of the dictionary you want to update.
  4. In the Find word field in the top left of the screen, enter the word to delete.
  5. Click Find.
  6. In the results box below, click the word.
  7. Click Delete Selected.
  8. Enter the deleted word into the Find Word field and click Find to verify that the word was successfully removed.
                                        

Adding a Word List

You can add a list of words to a standard dictionary. For example, you work in a hospital and want to add medical terms. While you can add words one at a time using Adding a Word to a Dictionary, it is more efficient to place all words in a text file then import the file into a dictionary.

  1. On your server, create a .txt file.
  2. Place all words into the .txt file, one on each line.
  3. Save the file using the language code of the dictionary you are updating. For example, if you are adding to the French dictionary, name the file fr-fr.txt.
  4. Open the Dictionary Configurator screen. See  Accessing the Spell Check Dictionary Update Screen.
  5. Click Edit Dictionary.
  6. Next to Import Wordlist, click Browse and navigate to the text file you saved in Step 3.
  7. Click Import.

All words on the list are added to the dictionary whose name matches the .txt file. For example, words in the fr-fr.txt file are added to the fr-FR.TDF dictionary file.

Note: While on the screen, enter one of the words in the word list into the Find word field, then click Find to verify that the import succeeded.

Importing a Dictionary

Typically, you want to import a dictionary because the language of some content is not included in the set of standard dictionaries. For example, your content is Japanese. You also can delete a standard dictionary then import one to replace it if you have a word list that you consider superior to the standard dictionary.

To import a dictionary:

Note: The following procedure assumes the words do not yet exist in a .TDF file. If they do, open the Dictionary Configurator screen, click Browse, select the file, and click Import. 

1. Create a blank .tdf file.

  • On your server, use Notepad to create a blank .tdf file named after the language code of the dictionary you are importing. For example, if you are importing a French dictionary, name the file fr-fr.tdf.
  • Open the Dictionary Configurator screen. See See Accessing the Spell Check Dictionary Update Screen
  • Next to the Pick a file to import field, click Browse and navigate to the .tdf file you created in Step 1.
  • Click Import. This action places the TDF file into the correct folder.

2. Create and import the word list.

3. Follow the procedure described in Adding a Word List to insert all dictionary words into a .txt file.

4. Click Edit Dictionary.

5. Next to Import Wordlist, click Browse.

6. Select the text file you created in Step 1.

7. Click Import. All words in the list are added to the dictionary whose name matches the .txt file name.

Use the Edit dictionary screen to select the dictionary. Then, use the Find word field to verify that the import succeeded.
                                 

Deleting a Dictionary

You typically would delete a standard dictionary to replace it if you have a word list that you consider superior to the standard dictionary.

1. Open the Dictionary Configurator screen. See Accessing the Spell Check Dictionary Update Screen

2. In the available dictionaries list, find the language whose dictionary you want to import.

3. To the right of the language, click Delete.