Adding a Hunspell module to WFP
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Local time: 13:45
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

Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »

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