openai / openai/codex

Codex Desktop on Linux defaults spellcheck to en-US and flags Polish text as misspelled

Open
#38,863 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Summary

On Codex Desktop for Linux, the composer spellchecker defaults to English (en-US) even when the user writes prompts in Polish. As a result, almost every Polish word is underlined as misspelled, despite the model itself understanding Polish correctly.

Environment

  • OS: Ubuntu Linux
  • App: Codex Desktop
  • Language used in prompts: Polish

Reproduction

  1. Launch Codex Desktop on Linux.

  2. Type a normal Polish sentence in the prompt composer, for example:

    To jest próbne zdanie napisane po polsku, żeby sprawdzić poprawność pisowni.

  3. Observe that Polish words are marked with red spellcheck underlines.

Relevant preferences

The active Chromium-style profile preferences were found in:

~/.config/Codex/Default/Preferences
~/.config/Codex/Default/Partitions/codex-browser-app/Preferences

Both contained:

"intl": {
  "selected_languages": "en-US,en"
},
"spellcheck": {
  "dictionaries": ["en-US"],
  "dictionary": ""
}

The partition profile also contained:

"intl": {
  "accept_languages": "en-US,en",
  "selected_languages": "en-US,en"
}

Workaround tested successfully

After fully closing the app, changing the relevant preferences in both files to include Polish and English fixed the issue:

"intl": {
  "selected_languages": "pl-PL,pl,en-US,en",
  "accept_languages": "pl-PL,pl,en-US,en"
},
"spellcheck": {
  "dictionaries": ["pl-PL", "en-US"],
  "dictionary": ""
}

After restarting Codex Desktop, Polish spellchecking worked correctly and Polish text was no longer incorrectly underlined.

Expected behavior

Codex Desktop should either:

  • respect the system/application language when configuring spellcheck dictionaries, or
  • provide a visible setting for spellcheck languages, ideally supporting multiple active dictionaries such as pl-PL and en-US.

Actual behavior

The application profile defaults to en-US only, making the composer spellchecker effectively unusable for Polish prompts until the preferences files are edited manually.

This appears to be a UI/editor spellcheck configuration issue rather than a model-language issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Linux Codex Desktop profile and inspect ~/.config/Codex/Default/Preferences and ~/.config/Codex/Default/Partitions/codex-browser-app/Preferences. Trace where the application initializes the Chromium-style intl and spellcheck preferences; done means Polish text is not incorrectly underlined while English spellchecking remains available, without manual edits to both files.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
desktop, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.