Getting the AbiWord "ispell" to work for your own native language can be
done quite easy.
Read the details of your ispell hash file by typing the following in whatever
directory your ispell hash files are stored:-
In my example:-
“file britishxlg.hash” will show:
8-bit, 52 flags and 128 string characters.
Note: the old "american.hash is:-
8-bit, 26 flags and 100 string characters.
In order to get it to work in AbiWord you need to change some values in
your /spell/ispell.h using the table according to the number of flags and string
characters that your hash file has.
Using the table below:-
Edit (ispell.h) line 207
#ifndef MAXSTRINGCHARS
#define MAXSTRINGCHARS 100 (change to 128)
#endif /* MAXSTRINGCHARS */
Edit (ispell.h) line 541 and again at line 543
#ifdef NO8BIT
# define MAGIC8BIT
#else
# define MAGIC8BIT
#endif
#ifdef NO_CAPITALIZATION_SUPPORT
# define MAGICCAPITALIZATION
#else
# define MAGICCAPITALIZATION
#endif
Don’t forget to put your new hash file into your AbiWord “/dictionary “
in order to use it!
Tested:
americanmed.hash, americanxlg.hash, britishmed.hash and
britishxlg. all run ok with new settings.
Regards,
James