Skip to content

fix: Disable turns off Dutch, Persian and Spanish when the language was added without its region - #1772

Merged
Jason3S merged 1 commit into
mainfrom
claude/disable-bare-tag
Oct 23, 2026
Merged

Jason3S merged 1 commit into
mainfrom
claude/disable-bare-tag

Conversation

@Jason3S

@Jason3S Jason3S commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

For users: if you turned Dutch, Persian or Spanish on with the bare language code (nl, fa or es in cSpell.language), the extension's Disable command now turns it off.

  • Disable removed only the extension's own locale (nl-NL, fa-IR, es-ES), so other variants of the language would stay on: Flemish (nl-BE), Dari (fa-AF) and other Spanish variants. cspell-dicts has no dictionary for any of them. The only nl, fa and es dictionaries are @cspell/dict-nl-nl, @cspell/dict-fa-ir and @cspell/dict-es-es.
  • Disable now removes nl-NL,nl, fa-IR,fa and es-ES,es, as Swedish (sv-SE,sv) and the other single-region languages already do. Spanish's legacy Disable commands get the same values.
  • The three configs' notes explained the narrow Disable, so they're removed.
  • German, Swiss German, Portuguese, Portuguese (Brazilian), French, French Réforme and Serbian's script commands stay narrow, because their bare tag is shared with another dictionary.

…as added without its region

Disable removed only nl-NL, fa-IR and es-ES, to leave Flemish, Dari and other Spanish variants on. cspell-dicts has no dictionary for any of them, so a user who had added nl, fa or es couldn't turn the language off. Disable now also removes the bare tag, as for the other single-region languages.
@Jason3S
Jason3S merged commit cff1d05 into main Oct 23, 2026
11 checks passed
@Jason3S
Jason3S deleted the claude/disable-bare-tag branch October 23, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant