Current IDEA versions load dictionaries in UTF-8, you don't need to convert them to the platform encoding, ignore the iconv step below.
The dictionary can be produced using aspell for Unix/Mac OS X or under Cygwin. You need to have aspell and appropriate dictionary installed.
Here is the example for Russian dictionary I've used:
aspell --lang ru-yeyo dump master | aspell --lang ru expand | tr ' ' '
' > russian.dic
For German it would be:
aspell --lang de_DE dump master | aspell --lang de_DE expand | tr ' ' '
' > de.dic
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…