Adding a Hunspell module to WFP
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Local time: 00:00
Member (2006)
English to Afrikaans
+ ...
Oct 10, 2010

Thanks to Yasmin for sending me an Afrikaans Hunspell module unasked-for, in response to some other threads here on the same topic.

I fiddled with the files and found that it may be possible to add a Hunspell dictionary to any WFP installation (on Windows) if you have only the Hunspell dictionary files (e.g. Firefox, Thunderbird or DIC and AFF files). I'm not sure if you can use MySpell or Ispell dictionary files in WFP -- someone will have to test it.

Of course, the best way to get a Hunspell module for your language is to (a) use the auto-update feature or (b) ask WFP Support for it, but since anyone can create a Hunspell dictionary, there may be times that you might want to add a non-standard one instead.

1. Navigate to C:\Program Files\Wordfast\plugins\
2. Find a folder in it named "org.gs4tr.editor.spellcheck.hunspell.dictionary.SOMETHING_2.0.0".
3. Make a copy of it and rename the copy to "org.gs4tr.editor.spellcheck.hunspell.dictionary.XY_ZA_2.0.0" (where XY_ZA is the language code of your Hunspell dictionary).
4. Now make some changes to some of the files:

4.1 Edit and change it to your language. In my case, I had to edit lines 1, 2 and 4. This file is ANSI but I've tested it with UTF8 (even with a BOM) and it still works.
4.2 Edit plugin.xml and change it to your language (these items refer to the actual Hunspell dictionary files that you're going to copy, so make sure they have the same name). In my case, I had to edit lines 7 and 8. This file is ANSI but I've tested it with UTF8 (even with a BOM) and it still works.
4.3 Edit and change it to your language. In my case, I had to edit just one line. Save this file as Latin-1 (*not* as UTF8 with BOM). In the original file, the line I had to edit was hard wrapped at character 70, but unwrapping it doesn't seem to affect WFP.
4.4 Delete whatever is in the dict folder and copy your language's DIC and AFF file into it. Be sure that your files have the same names as you specified in plugin.xml (also check hyphens versus underscores).

Some dictionaries can be found here: (just unzip the XPI file) (just unzip the XPI file) (just unzip the OXT file)
You only need the DIC and AFF file in the above downloads.

If anyone can show me how my explanation is incorrect, please do so.

[Edited at 2010-10-10 12:16 GMT]


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

Adding a Hunspell module to WFP

Advanced search

Translation news related to Wordfast

memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for users! Save over 13% when purchasing Wordfast Pro through Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search