vscode-spellright icon indicating copy to clipboard operation
vscode-spellright copied to clipboard

Not using correct spelling on MacOS for Australian english

Open pauleaster opened this issue 3 years ago • 4 comments

Using MacOS 10.15.7, Spell Right 3.0.60, VS Code 1.62.3 (Universal).

Steps to reproduce: Create new directory spell_right, use VS code to open the dir with code spell_right.
File new, save as spell_check.md in current dir, paste in the following text: I analysed the correct spelling for analyzed and found that the Australian version is analysed. Should colour be color or colour? Australian spelling is colour.

MacOS language setup is shown here as well.

MacOS's TextEdit correctly highlighted analyzed and color, whereas Spellright incorrectly highlighted analysed and colour TextEditSpelling SpellRightSpelling . LanguageSetup

pauleaster avatar Dec 01 '21 23:12 pauleaster

Seems to be more than just the general words that contain the "-our" or "-or". I'm still getting messages for words ending in "-ise" to be changed to "-ize". Even if you force add the "spellright.language": [ "en-AU", "en-GB" ] the spell checker marks those words incorrectly.

Since we adopt both en-US and en-GB words like "programme" should be acceptable as well as "program". In the end you pick a language lane and stick to it, but if you happen to choose the GB spelling it frustrating to have spelling errors for words that aren't incorrect:

image

markbattistella avatar Dec 27 '21 22:12 markbattistella

@pauleaster not sure if you're still pending a solution or not but I happened to stumble across one for some of the en- languages.

  1. Go to the extensions settings image
  2. Uncheck the "Group Dictionaries" setting image
  3. Open a markdown file, and select the language from the bottom right of VSCode image
  4. Select your language image

I hope this helps you and others who have different language settings!

markbattistella avatar Jun 02 '22 00:06 markbattistella

Cool, thanks I will check this out.

pauleaster avatar Jun 02 '22 01:06 pauleaster

@pauleaster not sure if you're still pending a solution or not but I happened to stumble across one for some of the en- languages.

I hope this helps you and others who have different language settings!

Unfortunately doesn't work for me. British 'color' is still highlighted as an error. My settings:

  "cSpell.language": "en-GB",
  "spellright.language": ["en-GB"],
  "spellright.languageContext": {
    "strings": ["en-GB"],
    "comments": ["en-GB"]
  }

image

AVTPJ avatar Jun 20 '23 15:06 AVTPJ