The default dictionary used by Sublime Text is utf-8-based and American English-centric. You can use different dictionaries, but they must be encoded in utf-8. For dictionary options, Sublime suggests looking at these dictionaries, available at OpenOffice.
Note: Every OpenOffice dictionary is a compressed file—with a
.oxt extension—of a bundle of related files. One of those files is the actual dictionary, which ends in a
Mac Install *
For the following example, I’ll refer to a dictionary downloaded from the Internet called
es_es.oxt. I’ll also assume you’re using Sublime Text 3.
- Download your desired dictionary, which will likely have a
- Navigate to the directory containing the dictionary you just downloaded. I downloaded
- Change the extension of the dictionary file from
.zip:mv es_es.oxt es_es.zip
- Create a new folder and use the name of the dictionary as the name of the folder:
- Move the ZIP file into the new folder:
mv es_es.zip es_es
- Navigate into the the new folder:
- Unzip the dictionary file:
- Delete the ZIP file:
- Navigate to the parent folder:
- Move the dictionary folder to Sublime’s
Userfolder:mv es_es ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
- The dictionary is now an option under the
Viewmenu. Select it by pointing your mouse at
View ➞ Dictionary ➞ User. The
es_esdictionary, in my case, is at
View ➞ Dictionary ➞ User ➞ es_es.
- Verify that you’ve installed the dictionary correctly. Look for the
"dictionary"option in your preferences file.