Spelling checker - add supported languages

The Help Editor implements Spelling checking through Open Office Hunspell. Hunspell requires two files to define the language that it is spellchecking. The first file (.dic) is a dictionary containing words for the language, and the second is an "affix" file (.aff) that defines the meaning of special flags in the dictionary.

The Help Editor is distributed with the language files for American English (en-US). If you are using another language you have to download the required files (.aff & .dic) from the links on http://helpgenerator.com/downloadspellinglibraries.htm

C:\ProgramData\Help Generator\Spelling\en-US\ 

Example installing the Dutch language
  1. Visit
  2. Click 16.Dutch (the Netherlands). This moves you to the correct location on the wiki.services.openoffice.org page. 
  3. Click 'Spelling' link. This starts downloading the zip file.
  4. Open the [nl-NL].zip file
  5. In windows explorer, open folder C:\ProgramData\Help Generator\Spelling\
  6. Create subfolder nl-NL\
  7. Drop the content from the zip file in the new folder.

From now on, Dutch is available from the Spelling dialog Language combo.

Note

The dictionary file contains a list of words, one per line. The first line of the dictionaries (except personal dictionaries) contains the word count. Each word may optionally be followed by a slash ("/") and one or more flags, which represents affixes or special attributes. Default flag format is a single (usually alphabetic) character. In a Hunspell dictionary file, there is also an optional morphological field separated by tabulator. Morphological descriptions have custom format.

An affix file may contain a lot of optional attributes. For example, SET is used for setting the character encodings of affixes and dictionary files. TRY sets the change characters for suggestions. REP sets a replacement table for multiple character corrections in suggestion mode. PFX and SFX defines prefix and suffix classes named with affix flags.

Review