I have trouble spell checking my document in TeXstudio. When I press spellcheck, I get the error
No dictionary Available. Am I supposed to install a dictionary separately? How? Any suggestion?
TeXStudio uses the OpenOffice spelling dictionaries (as well as thesaurus). You can download any number of them from the OpenOffice extensions site. You can also download dictionaries from LibreOffice extensions. The OpenOffice files have the extension
.oxt but are actually
.zip files. You place the dictionary files in the Dictionary folder in your TeXstudio installation. The dictionary then appears in the list when you open the "Configure TeXstudio" under "Options" in TeXstudio.
The following applies to versions before 2.7.2, newer versions (after a bug-fix in 2.11.2) recognize the `.oxt' extension so steps 2 and 3 become superfluous.
So here are the steps:
- download your dictionary (
- change the extension to
- unzip the files in a folder
- In TeXstudio preference, under Spell Checking Dictionary, change the directory to the folder you put your dictionary in
- reset TeXstudio.
- You are all set!
I was having the same problem in Mac OS. Here's how I solved it.
- Find the texstudio app, right click on it and select 'Show Package Contents'.
- Within the contents folder, right click on the 'Resources' folder.
- Press and hold alt. This should make the option 'Copy "Resources"' change to 'Copy "Resources" as Pathname'. Select this option.
- In texstudio, select to TeXStudio->Preferences->Language Checking.
- Paste the copied path name for your resources folder into the 'Spelling Dictionary Directories' textbox and now the 'Default Language' drop down menu should become populated.
- Select your en_US, or whatever your preferred language is.
This is how I solved this problem in Linux Mint Release 18 (Sarah):
hunspellpackage and the dictionaries needed (such as
hunspell-en-gbfor British English).
In TeXstudio (mine was version 2.10) under Options menu select Configure TeXstudio...
Under Spell Check click the folder button at the right end of Spelling Dictionary Directories
Navigate to the folder where the hunspell dictionaries are installed which in my case was
Once you navigate to this folder the Directory: text box will still remain empty for some reason. Ignore that and press Choose button to select the current folder
Now on the Configure TeXstudio dialog, select the appropriate dictionary from the Default Language drop-down list and press OK
I had the same problem running TeXStudio on macOS. The issue was fixed by going to "Preferences -> Language Checking" and changing "Spelling Dictionary Directories" to:
For some reason the default value was some obscure directory: /private/var/folders/vj/8rqcn3595bn4rxj8tx4nbmxr0000gn/T/AppTranslocation/ACDC786F-24E9-4FF4-B18B-71A724BF1A18/d/texstudio.app/Contents/Resources
TeXstudio comes with dictionaries; you don't need to install them. I had the same problem. TeXstudio said that no dictionary was available. When I went to choose a dictionary in the options menu, none showed up, yet when I went to the same file in the file explorer, I saw that there were plenty. I noticed that the .dat files had Norton Studio icons. Once I uninstalled Norton Studio and restarted TeXstudio, the dictionaries were there automatically.
I had some problem because the dictionary I downloaded only had
.dic, but no
It happens that
hunspell files which I had already installed. I remember I checked for my language on
hunspell but there was no support available.
So, just to resume, I copied the files to
/usr/share/hunspell/. Then I opened TexStudio and went to
Configure TexStudio ->
and set my lang there.
Now it works.
Hunspell is a spell checker and morphological analyzer designed for languages with rich morphology and complex word compounding and character encoding, originally designed for the Hungarian language. Texstudio, TexWorks, OpenOffice, LibreOffice, FireFox and other programs use it (source: Wikipedia).
As written elsewhere for this question, if needed, you can download the
.oxt package at OpenOffice website or LibreOffice's. There are many languages available. As you unpack it, 2 main files should show up:
.aff. These 2 files should be moved to an appropriate folder, indicated at TexStudio preferences. The program will automatically look for dictionaries at this folder.
If the language you wish to use is not available to be used by TexStudio, you might be experiencing one, or more, of the following situations:
The dictionary's files weren't installed along with TexStudio, or another software.
Your system has the files but TexStudio is not pointing to the right folder.
The files are where they should be and TexStudio has the right path, however, it's not being seen, like if they weren't there. If you are using a Unix-like system (Linux or Mac), these files should have at least "read" permission for your kind of user, otherwise they will not be accessible by TexStudio. If you are using Mac, get the folder's information and verify it's permission status at the bottom of the info box. If you are using Linux, check out more informations about "permissions" at:
For Ubuntu, and maybe other Linux distribution, check out the Hunspell's folder at
For Mac, check out