Tips & Tricks‎ > ‎

Spelling

XChat-WDK uses MySpell for spelling via the Enchant library. The required libraries are included in the installer, but the dictionaries are big so they are distributed in a separate archive. They're from Debian Lenny.
If you want to have spelling, do the following:
  • download the Spelling Dictionaries archive
  • go to %APPDATA% (just paste this into Explorer's address bar) and create the Enchant folder if it doesn't exist yet
  • extract the myspell folder from the downloaded archive to this Enchant folder
  • specify the languages you wish to have spelling for in Settings -> Preferences -> Interface -> Input box. You need to specify their language codes, see %APPDATA%\Enchant\myspell for hints. By default XChat-WDK uses the LC_ALL environmental variable, or if it's unset, it falls back to en_US.
Note: for portable installs, you can use the share\myspell\dicts subfolder instead of %APPDATA%\Enchant\myspell (both will work, but the former one can be carried on a pendrive unlike the latter one).

You have to go through all this only once. XChat-WDK needs to be restarted for the changes to apply.
The notes about Aspell on the official site are irrelevant. Since XChat-WDK uses MySpell instead of Aspell, you don't need to install Aspell at all.

If you find better MySpell-compatible dictionaries than the ones found in the archive, you can easily update the existing ones, just simply overwrite them. If they're not compatible with MySpell you'll know coz it will crash XChat-WDK :) Due to this, it is advised to backup your old files first if you're not sure the new ones will work.