question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify language when using the chromium-arg '--enable-spell-checking'

See original GitHub issue

Hi,

There doesn’t seem to be any way to specify which language the spellchecker should use when using the chromium-args --enable-spell-checking. For me it always seems to default to en-US.

Does it set this based on the window.navigator.language?

Running nw 0.14.5 on Windows 10.

Thanks

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
semmelcommented, Jun 2, 2017

It works like a charm! 😄 Thank you @rogerwang! I just tried in the dev console with nwjs v 0.22.3:

chrome.settingsPrivate.setPref('spellcheck.dictionaries', ["en-US"], "null", console.log.bind(console, "done"));

Now I can even switch the spellcheck language without restarting the app. Great! I guess this deserves mentioning in the api docs?

0reactions
rowenbuzzcommented, Apr 7, 2022

@dreamsavior I found the comments in the source code here: https://chromium.googlesource.com/chromium/src.git/+/62.0.3178.1/chrome/common/extensions/api/settings_private.idl

But I don’t know of documentation in this case. Perhaps @rogerwang has better knowledge in this area of Chromium’s documentation, but adding it to the documentation for NWjs would be helpful. When I go to “Search docs” and search for “spellcheck”, no pages come up in NWjs here: https://nwjs.readthedocs.io/en/latest/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting spellcheck language in Google Chrome - html
In this HTML snippet, the first <textarea> will be spell checked in English, the second in French, and the third in Russian. If...
Read more >
How do I enable spell checking in Notepad++? - Super User
Turn automatic spell check on and off with the red-squiggle ABC button Spell ... Change Current Language; Select your language(s) and add.
Read more >
Disable or enable spell checking on a journal field
This applies spell checking in the specified language to the multi-line Comments text box for incidents, problems, and changes. Click the table ...
Read more >
Check spelling and grammar in a different language
Under Office authoring languages and proofing, select the language you want to use. Select OK. Or. On the Review tab select Language >...
Read more >
How to enable spell checking in user forms - Pega Community
Each language has at least one of each type. Supplemental dictionaries use the TLX format. 2. Set up a SpellChecker Properties data instance....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found