atom / spell-check

Spell check Atom package
MIT License
205 stars 133 forks source link

cannot load the checker - does not recognize target language correctly #342

Closed osher closed 3 years ago

osher commented 4 years ago

Prerequisites

Description

Does not recognize language correctly - takes naive assumptions about the relation between input language and locale.

Steps to Reproduce

  1. Use English as language of input
  2. Use Israel as location (IL)
  3. Use Atom with spell-check.
  4. Start Atom

Expected behavior:

Should work.

Actual behavior:

I get on the top-right the following error message, and in settings page the plugin is paused:

The package spell-check cannot load the checker for en_IL. See the settings for ways of changing the languages used, resolving missing dictionaries, or hiding this warning.

IMHO - there is no such locale as en_IL

Reproduces how often:

Every time I start Atom

Versions

$ atom --version
$ apm --version
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.48.0
python 2.7.17
git 2.17.1

Ubuntu 18.04

Additional Information

Keep up the good work

dmoonfire commented 4 years ago

The code uses the LANG environment variable to guess languages. Would you be so kind as to give the output from the following command:

echo $LANG
dmoonfire commented 3 years ago

Since there hasn't been any response for a while, I'm going to close this issue. Feel free to reopen.