Skip to content

fix(i18n): use existing German terms for Workspace, Chat UI and Full Disk Access in 8 de strings - #48103

Merged
nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/de-english-terms
Nov 24, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/de-english-terms

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to German, a few screens still used an English word where the rest of the German app already uses a German one. For example, a hint told German users to search Settings for "Chat UI", but the German Settings page calls it "Chat-Oberfläche". This change puts in the German words the app already uses everywhere else, so each thing has one name and the search hint finds the right setting.

What Changed

Only 8 values in src/renderer/src/i18n/locales/de.json change. No keys, code, English source strings or other locales change.

Keys Before After
gitGraph.switchWorkspace, gitGraph.workspaceClosed, gitGraph.workspaceCheckFailed "Zum Workspace wechseln", "... in einem anderen Workspace ...", "Dieser Workspace ..." "Zum Arbeitsbereich wechseln", "... in einem anderen Arbeitsbereich ...", "Dieser Arbeitsbereich ..." (the term de.json already uses in about 770 values)
components.native-chat.cardKindHidden.settingsLink, .failed "Einstellungen > Chat UI > Durchgangsaktivität" "Einstellungen > Chat-Oberfläche > Durchgangsaktivität" (matches the real Settings section title settings.appearance.chat.title)
featureTips.chatUiHere.switchedNoteTitle, .switchedNoteBody "Neue Agenten werden in Chat UI geöffnet" / "... Suche ... nach <term>Chat UI</term>" "Neue Agenten werden in der Chat-Oberfläche geöffnet" / "... nach <term>Chat-Oberfläche</term>" (<term> tag kept)
browser.cookieImport.errors.safariFullDiskAccess "Orca unter System Settings → Privacy & Security → Full Disk Access Festplattenvollzugriff gewähren." "Orca unter Systemeinstellungen → Datenschutz & Sicherheit → Festplattenvollzugriff gewähren." (same path as the sibling macFullDiskAccess error, so "Full Disk Access Festplattenvollzugriff" no longer appears twice)

Mechanism: these are catalog value edits only. Grammar was adjusted where German needs it ("in der Chat-Oberfläche", feminine dative).

Why

When one feature has two names, users can think they are two different things. The "Chat UI" search hint also pointed at a label the German Settings page doesn't show (Settings search does still match the English fallback). Every replacement is a term de.json already uses, so no new translation was needed and a reviewer can check each one against the catalog without speaking German. A full German glossary pass (for example, the remaining "System Settings öffnen" values) needs a native reviewer and is left for a follow-up.

Linked Issue

Fixes #48104

Visual Proof

The note shown after new agents switch to Chat UI (ChatUiSwitchedCornerNote), rendered in German through a component fixture. Top: main. Bottom: this PR. Screenshot from the original PR #48103.

German Chat UI note, before and after

The other 7 strings are text-only changes in the Git graph, the native-chat "card hidden" notice and the Safari cookie-import error, with no layout changes.

Testing

  • I manually tested these changes locally (no Electron run: string-only change. The Chat UI note was rendered through a component fixture, see above.)

  • Automated tests added/updated, or explained why not below

  • Every added test fails without this change and avoids the test anti-patterns (no tests added)

  • Reproduced on main: the 8 de.json values contain the English terms. A throwaway vitest probe rendered switchedNoteBody through the same <Trans components={{ term }}> as ChatUiSwitchedCornerNote, then ran the term through the real settings search. It showed "Chat UI" on main and "Chat-Oberfläche" on this branch, and both match the setting (translateSearchKeyword indexes the German title and the English fallback).

  • verify:localization-catalogs, verify:localization-catalog, verify:localization-protected-copy, verify:localization-runtime-catalog and verify:mobile-localization all exit 0. oxfmt --check on de.json passes. ast-grep reports 0 findings. The changed-code quality gate finds no changed JS or TS.

  • Targeted vitest (localization coverage audit, bot-app-lines): 2 files, 7 tests pass.

  • repair-locale-catalog.mjs has no de mode. An in-memory repairCatalog(en, de, 'de') keeps all 8 new values, so a regeneration pass won't put the English back.

  • Ran on macOS. The change is platform-independent.

  • No tests added: AGENTS.md says not to test copy or translations.

Performance

None, because this only changes catalog string values. No code, keys or loading path change. de.json grows by 48 bytes (1,481,444 to 1,481,492). Median JSON.parse of the catalog over 30 runs: about 2.4 ms before and after, within noise.

Risk

Level: Low

Only German wording changes, in 8 strings. If a replacement reads oddly, German users see an odd German word where an English one used to be. A plain revert backs it out. The open German PR #48096 only adds new keys and merges cleanly with this one.

Review

Reviewed value by value against en.json and the catalog's existing terms. The key set and order match main, and the <term> tokens match en.json.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Original fix by @yohangwak in #48103. This branch is their commit, squashed onto current main with authorship kept.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The German locale corrects Safari full-disk-access guidance. It replaces “Chat UI” with “Chat-Oberfläche” in chat settings and notices. It also replaces “Workspace” with “Arbeitsbereich” in Git graph messages.

Severity of issue fixed: Low

Merge Risk: Minimal · up to c9a55

This updates German UI text to use existing German terms instead of English ones. It has no behavior or performance impact and is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Issue #48104 asks for 8 German values in de.json that keep English terms to use the German terms the catalog already uses. The whole-PR diff (merge base to head) changes exactly 8 values in src/render…
Out of Scope Changes check Passed The whole-PR diff touches only src/renderer/src/i18n/locales/de.json. Every hunk changes one of the 8 values named in issue #48104. No code, keys, English source strings, other locale files, or exclud…
Title check Passed The title names the main change: replacing English terms (Workspace, Chat UI, Full Disk Access) with existing German terms in 8 de.json strings. It matches the changeset, which only edits 8 German val…
Description check Passed The description follows the repository template. It includes ELI5, What Changed (with a before/after table), Why, Linked Issue (Fixes #48104), Visual Proof (a before/after screenshot of the Chat UI no…
Full details: Linked Issues check

Explanation

Issue #48104 asks for 8 German values in de.json that keep English terms to use the German terms the catalog already uses. The whole-PR diff (merge base to head) changes exactly 8 values in src/renderer/src/i18n/locales/de.json: 3 Workspace values (gitGraph.switchWorkspace, workspaceClosed, workspaceCheckFailed) now use Arbeitsbereich; 4 Chat UI values (cardKindHidden.settingsLink, cardKindHidden.failed, featureTips.chatUiHere.switchedNoteTitle, switchedNoteBody) now use Chat-Oberfläche; and 1 value (browser.cookieImport.errors.safariFullDiskAccess) now uses Systemeinstellungen → Datenschutz & Sicherheit → Festplattenvollzugriff. No keys or other locales change. The requirements are coding-related copy changes, and the diff satisfies each listed string. No automated test was added. The issue treats copy correctness as the requirement, and the PR states that the catalog verifiers pass. Test coverage is not a stated requirement of the issue.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff touches only src/renderer/src/i18n/locales/de.json. Every hunk changes one of the 8 values named in issue #48104. No code, keys, English source strings, other locale files, or excluded product names are changed. No unrelated change was found.

Full details: Title check

Explanation

The title names the main change: replacing English terms (Workspace, Chat UI, Full Disk Access) with existing German terms in 8 de.json strings. It matches the changeset, which only edits 8 German values in de.json. The title is 96 characters, which is long, but it is still specific and clear.

Full details: Description check

Explanation

The description follows the repository template. It includes ELI5, What Changed (with a before/after table), Why, Linked Issue (Fixes #48104), Visual Proof (a before/after screenshot of the Chat UI note), Testing, Performance (None, because...), Risk (Low, with revert path), Review, Agent skill boundary, Notes, and Checklist. The AI Disclosure section is omitted, which is acceptable for a non-AI-disclosure case in the template. The Performance and Risk sections are complete, and the change scope is clearly stated.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3777ac8d-f744-48ef-8a82-3b78cefac139
Commits

Reviewing files that changed from the base of the PR and between 8b76ff1 and c9a5579.

Files selected for processing: 1

  • src/renderer/src/i18n/locales/de.json
Files skipped from review as they are similar to previous changes: 1

  • src/renderer/src/i18n/locales/de.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Reuse the wording de.json already uses for each term elsewhere
(Systemeinstellungen/Datenschutz & Sicherheit, Chat-Oberfläche,
Arbeitsbereich), so one UI concept no longer has two names.

Fixes stablyai#48104
@nwparker
nwparker force-pushed the yohangwak/de-english-terms branch from 8b76ff1 to c9a5579 Compare November 24, 2026 07:09
@nwparker nwparker changed the title fix(i18n): translate English terms left in 8 German strings fix(i18n): use existing German terms for Workspace, Chat UI and Full Disk Access in 8 de strings Nov 24, 2026
@nwparker
nwparker merged commit c89ed24 into stablyai:main Nov 24, 2026
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: German UI: English terms left in 8 strings (Workspace, Chat UI)

2 participants