Can spellcheck be used for different languages in Slack?
Yes, spellcheck in Sanity Studio can work with different languages! According to the Block type documentation, the Portable Text Editor has a spellCheck option that you can enable or disable (it defaults to true).
Here's how you can configure it in your schema:
{
name: 'content',
type: 'array',
of: [
{
type: 'block',
options: {
spellCheck: true // enabled by default
}
}
]
}Important to know: The actual language used for spellchecking is determined by your browser's language settings, not by Sanity itself. The spellcheck feature relies on the browser's built-in spell checker, which means:
- The language detection and dictionaries come from the browser (Chrome, Firefox, Safari, etc.)
- Each browser has different language support and dictionary quality
- Content editors can typically configure their browser's spellcheck language preferences
For multilingual content workflows, here are some common approaches:
- Separate fields per language - Create different fields for each language, and editors switch their browser's spellcheck language when editing different language fields
- Browser configuration - Have editors configure their browser to support multiple spellcheck languages
- Browser extensions - Some editors use browser extensions that allow quick switching between spellcheck languages
If you need more advanced language-specific validation beyond basic spellchecking (like grammar checking or language-specific rules), you might want to explore custom validation rules or integrate third-party language tools into your workflow.
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.