Home

Awesome

Dictionaries for Sublime Text

The following repository contains some UTF8-ready dictionaries for the spell checker feature of Sublime Text.

Most of them were downloaded from the Open Office list. Credits to the people working on these! Read every LANG.txt for details.

Language List

Idea

Since installing a new language requires some non easy procedures, the idea is to collect the dictionaries ready for use here.

Today, this contains a list of some languages. The idea is to extend the list with help from the community.

Adding a new language

My primary language is Spanish, so I'm not sure of the state and quality of the different languages added here.

Please, if you find a better dictionary or something to improve, your change will be welcome.

To add a new language:

Iconv and Encodings

Iconv may be used to convert a file to UTF-8 from another encoding. For example:

iconv -f iso-8859-1 -t utf-8 en_CA.aff > en_CA_utf8.aff

You can use the file command to check an encoding:

file -bi en_CA_utf8.aff

Example output:

text/plain; charset=utf-8

Note that us-ascii might be reported if there are no unicode (utf-8) characters present in the file.

Contributors

Installation

  1. Locate Sublime Text Package folder (Preferences > Browse Packages). For Linux, it's likely at ~/.config/sublime-text-3/Packages
  2. Download and unzip, or clone the contents of this repository, into this folder (Packages)
  3. Rename the folder in a more suitable name, ex: "Dictionaries" ~/.config/sublime-text-3/Packages/Dictionaries (warning: there must not be any sub-folder in this folder, depending on your unzipping software, you might need to move files to the parent folder)
  4. Choose the language (View > Dictionaries > English (British))
  5. Be sure spelling is activated (F6 / View > Spell Check)
  6. You are done!

Docs

Sublime Text uses Hunspell for its spell checking support.