This is a question about Atom’s
spell-check package. I use Atom to write in multiple languages (mostly programming) and I enjoy the convenience of the
spell-check package for most of these purposes. But sometimes I write Chinese texts, and this is were it gets annoying.
As far as I know – due to the way the Chinese language works – there is no spell checking algorithm available (please correct me if I’m mistaken). The standard settings of
spell-check result in every single character being underlined. So I’d like to disable spell checking for Chinese, but not for English and other languages where spell checking is available.
I’ve played around with the settings of
spell-check a little bit and I’ve stumbled on a “hacky” solution: In the locales setting (which is empty by default), I simply list all the languages I have installed on my system, excluding Chinese. Now spell checking is disabled in a Chinese document, and still enabled for English!
What’s going on? I would expect my workaround to not change the behaviour at all. But somehow it works. The only drawback is that now in a (mainly) Chinese document, English words are not spell checked either.