Skip to content

fix(i18n): fix a batch of mistranslations and misplaced labels - #66805

Merged
neriousy merged 18 commits into
devfrom
i18n-fixes
Nov 27, 2026
Merged

neriousy merged 18 commits into
devfrom
i18n-fixes

Conversation

@neriousy

@neriousy neriousy commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Issue for this PR

Closes #60872
Closes #53384
Closes #50443
Closes #55928
Closes #65580
Closes #59377
Closes #61252

Supersedes #60874, #60211, #59813, #55925, #65582, #59405, #61431. Commits are cherry-picked with the original authors kept, thanks @olcanaskar @OrlovKS @MiRHaDi @dat-rd @KPGVM @ZXLyyds100 @Wang-Zephyr.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

batch of translation bugs. no new keys beyond the two below, the big missing-key fill is a separate PR

wrong strings

actual bugs

not in here:

no flag, it's a fix

How did you verify your code works?

  • desktop-native.test.ts new case fails on dev (4 locales), passes here
  • session-request-docks.spec.ts "shows a pending permission dock" e2e passes, it now checks the "Run shell commands" line
  • app test:unit 2912 pass, bun typecheck in app and ui
  • checked no locale ends up with duplicate keys after the cherry-picks

Screenshots / recordings

n/a, string changes

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I reproduced the desktop menu label bug on the base by running the new desktop-native.test.ts cases there: all four locales fail on the base and pass here. A script confirmed that every desktop key in hr/hu/is/lt now holds the right label with matching placeholders. A placeholder comparison of all app and ui dictionaries against en finds no new mismatches and removes the 36 caused by the positional mapping. I also checked that the permission dock looks up settings.permissions.tool.<action>.description, so the new shell/subagent keys reach it. App unit tests pass (2912) and tsc passes for app and ui.

Public API: unchanged (translation strings only).

No blocking concerns.

Related: #53858, #51868

KPGVM and others added 13 commits November 27, 2026 15:53
- Translate shell as "Термінал" for the tool and activity category and
  as "команда" for running commands; keep "оболонка" only for the shell
  picker in settings.
- Rename the About tab to "Про OpenCode" and fix literal translations
  on that page.
- Use the 2019 spelling "проєкт" everywhere.
- Show MCP instead of the transliterated "МКП".
- Rename the Experimental tab to "Експериментальні функції".
- Translate worktree consistently as "робоче дерево".
- Add a Ukrainian glossary so the translator agent keeps these terms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Match the worktree delete warning and the projects description to the
current English, and drop eight plural forms whose keys no longer exist
in the English dictionary.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first-published line already starts with "Уперше"; use the same
form for the first-illustrated line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ukrainian spelling uses "у" rather than "в" at the start of a sentence
before a consonant, as in "Уперше" on the About page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Same rule as "Усі проєкти": "у" before a consonant at the start of a
label. Firefox's Ukrainian strings use "Усе" for an "All" option and
"Усе одно …" for "… anyway".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The other presets read as adverbs ("Детально", "Тихо"); the bare
masculine adjective "Компактний" didn't match them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The glossary prefers "сесія", which most strings already use; switch
the remaining 14 strings so the file and the glossary agree.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The session details plugin still said "сеанс" in its title and move
actions; match the rest of the Ukrainian UI and the glossary.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nguage

V2 permission requests use the shell and subagent actions, but the dictionaries only had the V1 bash and task descriptions, so those prompts showed no description line. Each locale reuses its existing translation of the same English text.
…bels

The keyed labels from the cherry-picked fix repeat five keys that the dictionaries already define further down, and #64205 has since translated the spellcheck label the test expected in English.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment