(This answer is extended with pictures in the TeX StackExchange).
By now you have surely solved the problem but for all the people that have the same trouble here is a tested solution in any language. :-)
There are two main steps in solving the problem:
- Download the Thesaurus files (.dat and .idx)
- Make TexStudio work with the Thesaurus files.
Here we go:
- Download the Thesaurus Files
For me the easiest way to get those files is:
Download the LibreOffice/OpenOffice extension .oxt of your desired language's dictionary (check that the extension includes a thesaurus otherwise is useless! ;-))
For instance for Danish the .oxt file can be found hier
http://extensions.libreoffice.org/extension-center/stavekontrolden-danish-dictionary
Unzip the .oxt file and get both thesaurus files (.dat and .idx). Yes, you can unzip a .oxt file! Use your favourite decompression program (e.g. LINUX: unzip, WINDOWS: winzip). On unziping you will see the files. For Danish the thesaurus files are:
- th_da_DK.dat
- th_da_DK.idx
- Store the thesaurus files in your chosen folder. Now you can choose freely where to store them. My recommendation for LINUX:
/usr/share/mythes
but something like ~/mythesfolder
should also do.
You are ready with the download of the thesaurus files!
- Make TexStudio work with the Thesaurus Files
To activate the Thesaurus in TexStudio:
- Go to: Options -> Configure TexStudio -> General
- Now you are in a dialog with some sections: Appearance, Dictionaries and so on. You see in the section Dictionaries the field Thesaurus Database. Well, this is the nub of the matter you have to input in that field the full path of the .dat thesaurus file (in this step you can ignore the .idx file).
Example: if you have installed the danish thesaurus on the path /usr/share/mythes
you should write here
/usr/share/mythes/th_da_DK.dat
That's it!