Skip to main content

Choosing a language

English variants

United States English is used by default. To use British English:

{
"cSpell.language": "en-GB"
}

en, en-US, and en-GB are supported without an additional dictionary.

Additional languages

Other languages are distributed as separate dictionary extensions. Install the extension for the language, then add its locale to cSpell.language:

{
"cSpell.language": "en,nl"
}

Multiple locales may be listed. A word is accepted if it appears in any active dictionary.

See Add-on dictionaries for the complete list of available language and technical dictionaries.

Per-file locale

The locale may also be set within a document:

// cSpell:locale fr,en

Next: How code is analyzed