UPDATE Current versions of IDEA load dictionaries into UTF-8, you do not need to convert them to platform encoding, ignoring the iconv step below.
The dictionary can be created using aspell for Unix / Mac OS X or under Cygwin. You must have aspell and the appropriate dictionary installed.
Here is an example of a Russian dictionary that I used:
aspell --lang ru-yeyo dump master | aspell --lang ru expand | tr ' ' '\n' > russian.dic
For German, this will be:
aspell --lang de dump master | aspell --lang de expand | tr ' ' '\n' > de.dic
Currently, IDEA reads the dictionary in the system encoding by default, so you may have problems if they differ from the locale of the dictionary, however, the next IDEA update will read the dictionary in UTF-8. When this happens, you can use iconv to convert.
If aspell creates a directory in UTF-8 on your system, you will need to convert it to cp1252 for the current version of IDEA:
iconv -f utf-8 -t cp1252 de.dic > de-cp1252.dic
However, if you build it on the same system where you run IDEA, the encoding should match (since aspell will produce it in the default system encoding, and IDEA will also read it in the default system encoding). I used Cygwin for Windows with cp1251 encoding, and it worked fine in Russian, but it would be difficult for the same system to use German until IDEA reads it in UTF-8
CrazyCoder Dec 23 '09 at 0:33 2009-12-23 00:33
source share