Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get Windows 10 additional dictionaries #103

Closed
aricov opened this issue Dec 17, 2017 · 4 comments
Closed

How to get Windows 10 additional dictionaries #103

aricov opened this issue Dec 17, 2017 · 4 comments

Comments

@aricov
Copy link

aricov commented Dec 17, 2017

This is probably off topic here, but I couldn't find anywhere the "system guidelines for adding spelling dictionaries" for Windows 10.

When I use the extension the only available language is always "English" which corresponds to the single "en-US" directory under %APPDATA%\Microsoft\Spelling.

Maybe adding a link to the actual guidelines in the corresponding part of the README could help.

@bartosz-antosik
Copy link
Owner

Hi! Thanks for the notice on this - if it is an issue fo you may be for other. I will add the below information to the README very soon:

  1. I have not found an Microsoft originated & simple guide. There is this but it is formal & not straightforward. I will add this but it is not complete in some cases (e.g. you have to go to "Options" for language pack & download spelling part for the language to appear in VSCode).

  2. There is also this on adding multiple languages to Windows Single Language editions. But this is probably less of your interest.

@aricov
Copy link
Author

aricov commented Dec 17, 2017

Thanks for the quick response!

I'm running a Windows 10 Pro image provided by my company with all sort of things locked down by the admins. So no option to download a language pack for me. I'll try to sort it out with them on Monday, and see if I can get what I need (mostly en-GB support as I need British spelling when writing content for EU bodies, French and Greek for personal stuff).

I don't run windows on my own machines, so I can't compare with an untainted setup.

Information on the internet is indeed very scarce with most google searches leading to Office related configuration instructions. The second and third link you provided my be helpful in the README or some other document linked from there.

Extension is otherwise great!

@bartosz-antosik
Copy link
Owner

Then you may try an entirely different approach: set environment variable SPELLCHECKER_PREFER_HUNSPELL (Right Click on My Computer -> Properties -> Advanced system settings -> Environment Variables... -> System variables OR User variables for XXX -> New... -> Variable name = SPELLCHECKER_PREFER_HUNSPELL, Variable Value = 1) - of course if you can set these.

Restart VSCode & then the extension should use HUNSPELL spelling API, not Windows native one.

You can then download and install dictionaries as it is described in "Linux and Windows 7" section of the README file. The dictionaries are maybe not as good as the Windows ones (or maybe it is my false impression) but they are OK for pretty large part of the world (macOS, Linux, Firefox, Chrome etc.)

Drop a line here if it works for you (It does for me but I have no policies imposed like you describe).

Thanks for nice words about the extension. I always appreciate reviews in this "Market" thing here but you have to be logged to add one. So no need to if that's a trouble.

@bartosz-antosik
Copy link
Owner

The changes proposed are included in README.md for just published version 2.0.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants