Adding Custom Dictionaries for the Spell Checker
Oxygen XML Web Author includes an automatic spell checking feature and you can customize the words that are detected by adding custom dictionaries.
To add a custom dictionary, follow these steps:
- Download the files needed for your custom dictionary (or create your own). You will need
a dictionary file (.dic file extension) and an affix
file (.aff file extension). If the dictionary did not include an
affix file (.aff), you can create one and leave it empty, but it is
needed for the mechanism to work properly.Tip: An example of a website that includes numerous dictionary files is: http://extensions.openoffice.org/dictionary.
- Copy both files (.dic and
.aff) to the dicts folder that is located
inside your Oxygen Data Directory
(
oxygen.data.dir/dicts
).Important: The name of the dictionary file should begin with a two letter prefix that indicates the language it should be attached to, followed by an underscore or hyphen, and then a descriptive name (for example, en_medical.dic for a medical dictionary in the English language). For a list of language codes, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.Notice: It is important to have thexml:lang
attribute set to lang_LANG in the document to ensure proper integration with the added custom dictionary. - Restart Oxygen XML Web Author for the spell checker to start using the new dictionary.
Enabling a Spell Checker for Additional Languages
A plugin is available (https://www.oxygenxml.com/maven/com/oxygenxml/languagetool-plugin/) that provides support for using additional languages for the spell
checker. The following languages are supported:
- Italian
- Dutch
- Spanish
- Japanese
- Simplified Chinese