GeezerVison is showing github.com — OpenCode ingoring Italian writing · Issue #54383 · anomalyco/opencode
OpenCode ingoring Italian writing #54383
Description
Description
Summary
In the OpenCode Desktop prompt input, the native spellchecker is fixed to the English (en-US) dictionary. Any non-English text (e.g. Italian) is fully underlined in red, and there is no setting to change the spellcheck language or disable spellcheck.
Environment
- opencode version: 2.0.26 (desktop package
deb2.0.26)
- OS: Linux 7.0.0-38-generic, Ubuntu 26.04.1 LTS, x86_64
- Terminal: OpenCode Desktop app (Electron 44.4.5), not a terminal emulator. Electron launched with
--lang=en-US
- Shell: /bin/bash
- Install/channel: desktop, channel
latest (from app-update.yml)
- Active plugins: None found in config
Reproduction
- Open OpenCode Desktop 2.0.26.
- Focus the prompt input box.
- Type an Italian sentence, for example:
Ciao, come stai oggi? Vorrei aggiungere una nuova funzione.
- Observe that essentially every word is underlined in red.
Expected Behavior
Italian text should be recognized by spellcheck (use an it-IT dictionary), or OpenCode should expose a way to set the spellcheck language and/or disable spellcheck entirely.
Actual Behavior
All Italian words are flagged as misspelled and underlined in red. Only the en-US spellcheck dictionary is configured, so the whole sentence is underlined.
Additional Context
Verified on the running instance:
~/.config/ai.opencode.desktop/Preferences:
"spellcheck": { "dictionaries": ["en-US"], "dictionary": "" }
~/.config/ai.opencode.desktop/Dictionaries/ contains only en-US-10-1.bdic (no it-IT-*.bdic).
- Electron processes (renderer and network service) are launched with
--lang=en-US.
app.asar contains no setSpellCheckerLanguages(...) call (0 occurrences), so Electron falls back to the app locale (en-US) and never downloads another dictionary.
- The input box is a standard Chromium editable field with native spellcheck enabled; the context menu exposes
addWordToSpellCheckerDictionary ("Add to dictionary").
- No spellcheck/language option exists in
opencode.settings or any OpenCode config.
Workaround tried:
- Right-click a flagged word -> "Add to dictionary". Works but only one word at a time, impractical for full Italian text.
Suggestions:
- Let the spellcheck language follow the OS/app locale (and download the corresponding dictionary).
- Expose a setting for spellcheck language and for enabling/disabling spellcheck.
- At minimum, allow disabling spellcheck for the prompt input.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Activity
opencode-agent commented on Oct 10, 2026
Thanks for the detailed report, @rRobbieIT! You're asking for spellcheck in the OpenCode Desktop prompt input to handle languages other than English. That could mean following your OS locale or picking a dictionary such as it-IT in settings, and at least being able to turn spellcheck off.
Your analysis matches the code. The prompt editor enables native spellcheck, and the desktop app doesn't set a spellcheck language anywhere, so Electron falls back to en-US and there's no setting to change it. Maintainers will consider this.
Related issues:
Metadata
Metadata
Development
No branches or pull requestsIssue actions