bartosz-antosik / vscode-spellright

Multilingual, Offline and Lightweight Spellchecker for Visual Studio Code
Other
358 stars 36 forks source link

Chinese dictionary doesn't work on Win10 #352

Open Megumism opened 4 years ago

Megumism commented 4 years ago

I have launched the language pack of Chinese, English and Deutsch. However, I can not select Chinese in VSCode, though English or Deutsch works properly. I wonder if it is the problem of MS's API... Is there any solution or substitution?

P.S. I have to use "spellright.ignoreRegExps": [ "/[\u4e00-\u9fa5]/g" ], to ignore checking Chinese characters now, just to avoid seeing the wavy lines filling my screen!

zcysxy commented 3 years ago

Same here. Please help 🙏

vani-lu commented 3 years ago

Same. According to #106 installing language from an admin account should tackle this problem. It does not work for me. The win 10 home version might have something to do with this. I gave up.

tyler36 commented 3 years ago

Same here but with Japanese. I'm on a Japanese Win10 Pro with English language pack. I also have Office 365 installed with both Japanese and English proofing tools.

I tried changing the order of languages. I changed Win10 language to Japanese and restarted; only English is displayed in Spellright options. I added German language pack to Win10 and after restarting VSCode, I have additional German options. There might be something with the Asian language packs.

Software Version
OS Win10 x64
VScode 1.54.3
spellright 3.0.56
tyler36 commented 3 years ago

Confirmed. There's an issue with Asian languages.

The Asian languages use a Microsoft IME keyboard while the other languages don't. Windows obvious handles Asian languages very differently behing the curtain.

I'm not sure if its a Windows issue or a spellright issue though.

yudonglin commented 2 years ago

Windows 11 Pro, same problem. A temporary solution can be adding an option only to check ASCII words and ignore non-ASCII words like what Megumism mentioned in his comment. Personally, I have more trouble spelling English words correctly compared to my native language. However, I look forward to seeing this problem get resolved in a better manner.

In addition, I suspect that this could be an issue related to utf-8 or Unicode. In many cases, this could be why most Asian text-based languages (including but not limited to Chinese, Korean, and Japanese) are not working correctly.