Adding a Hunspell module to WFP
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Local time: 11:41
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

WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »
SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »

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