Skip to content

fix(i18n): translate 365 missing German desktop strings for workspaces, sidebar, editor, terminal and browser - #49884

Open
yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/de-desktop-i18n-7
Open

yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/de-desktop-i18n-7

Conversation

@yohangwak

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to German, parts of the desktop app still show English: workspaces, sidebar, editor, terminal and browser. This PR adds German for 365 of those strings (part 7 of 7). Only the German word list changes.

What Changed

  • Before: 365 keys in en.json had no entry in src/renderer/src/i18n/locales/de.json and no open maintainer PR covers them, so i18next fell back to English inside otherwise German screens (workspaces, sidebar, editor, terminal and browser).
  • After: each of those keys has a German value. Values use informal "du", as the existing de.json mostly does (260 du vs 23 Sie), and its established terms (Arbeitsbereich, Agent/Agenten, Einstellungen, anmelden, Quellcodeverwaltung, Durchgang for an agent turn), with Bot, Worktree, Branch, PR and Review in English. Strings that take a number without separate _one/_other forms are phrased so no verb has to agree with the number.
  • Mechanism: new leaves in src/renderer/src/i18n/locales/de.json, each placed after its nearest en.json sibling that already exists in the file (diff +517 −38; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes. Every value passes the upstream repairTranslatedValue policy unchanged.
Key English (shown before) German (after)
auto.components.GitHubItemDialog.refreshTask Refresh task Aufgabe aktualisieren
auto.components.NewWorkspaceComposerFooter.create Create Erstellen
auto.components.TaskPage.gitlabLoadFailed Could not load GitLab work items. Refresh to try again. GitLab-Work-Items konnten nicht geladen werden. Aktualisiere, um es erneut zu versuchen.
auto.components.Terminal.93c2e9d845 There is running work in chats or terminals. Close the window anyway? In Chats oder Terminals läuft noch Arbeit. Fenster trotzdem schließen?
auto.components.activity.ActivityThreadContextMenu.clearMany Clear {{count}} Agents from List {{count}} Agenten aus der Liste entfernen
auto.components.automations.AutomationDetail.active Active Aktiv
auto.components.browser.pane.BrowserExtensionSidePanelDock.close Close side panel Seitenpanel schließen
auto.components.browserPane.externalApp.alwaysAllow Always allow {{site}} to open {{scheme}} links {{site}} immer erlauben, {{scheme}}-Links zu öffnen
auto.components.editor.BinaryFileDefaultAppButton.downloadFailed Failed to download '{{value0}}'. „{{value0}}“ konnte nicht heruntergeladen werden.
auto.components.feature.tips.feature.tip.copy.0080bc86eb Install CLI & Skills CLI & Skills installieren

Why

These strings sit in screens that are otherwise German, so each English line stands out. workspace.links.peek.running is shown for every pending check (queued, awaiting approval, in progress — provider-check-summary.ts), so it uses the word the same workspace card already uses for pending checks rather than a literal "running".

Linked Issue

Fixes #49862

This PR covers the workspaces, sidebar, editor, terminal and browser part of the issue; the other 6 German PRs cover the rest, with no key in two PRs.

Visual Proof

N/A — only catalog strings change; there is no layout, styling or interaction change. The table above shows what the affected labels render as with the interface set to Deutsch.

Testing

  • I manually tested these changes locally — not ticked: the values were checked by the catalog verifier and scripts; the app itself was not run.
  • Automated tests added/updated, or explained why not below: none added, since this only adds catalog values, which the existing catalog verifiers check (placeholder and tag sets, coverage).
  • Every added test fails without this change and avoids the test anti-patterns: no tests added.

On macOS, this branch (c17b300) is based on main at 4e43dff:

  • pnpm verify:localization-catalog passes: desktop de coverage goes from 20,399 to 20,764 entries (English has 25,069 keys). It fails with an interpolation mismatch when one {{placeholder}} in a new value is broken (checked as a positive control).
  • pnpm check:changed --base=upstream/main passes (29 checks, including format, typecheck, localization coverage, localization catalogs and localization extraction).
  • Each new value keeps the English {{placeholder}} and <tag> set and leading/trailing spaces (script check over all new values).

Performance

None, because only the German desktop catalog grows (about 27 KB). It is loaded only when German is selected; there is no new code path, I/O, polling or subprocess work.

Risk

Level: Low

The worst case is a German label that reads wrong on its screen. No behavior, saved data, settings, paired phones or SSH hosts are touched; the catalog is the same on macOS, Linux and Windows. To back out, do a plain revert.

AI Disclosure

Translated with Claude Opus 5.5 (high effort) in Claude Code. Opus chose every German value from the English source and the screen each string appears on, reusing the terms already in the desktop de.json.

Review

AI review summary: copy-only change to one locale catalog. Cross-platform: the catalog is shared by macOS, Linux and Windows. SSH/remote: no change. Agent compatibility: no change. Performance: data only. UI: copy only, no layout change; longer values were compared against the components that render them. Security: no change.

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

Keys that the open maintainer PRs #45740 (bot screens) and #47391 (bot templates and skills) already translate are left out so the PRs don't write the same lines. This is PR 7 of 7 for German; each one adds different keys on top of the same main, so they can merge in any order.

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

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) — not run locally; pnpm check:changed --base=upstream/main passed (29 checks, including format, typecheck and the localization checks), and CI runs the full suite.

🤖 Generated with Claude Code

…s, sidebar, editor, terminal and browser

Adds German for the sidebar and workspace cards, source control, editor, terminal panes, browser, automations runs and the remaining workspace screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The German locale file adds and updates translations across settings, bots, workspaces, the browser, editor, terminal, automation, and other interface areas. The entries include labels, prompts, status and error messages, accessibility text, and plural forms.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to c17b3

This adds German translations for workspace, sidebar, editor, terminal, and browser text. The changes are limited to the locale file and show no concrete risk, so merging looks safe.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49862 asks for German values for 365 missing keys in the workspaces, sidebar, editor, terminal and browser area. The PR adds German values to src/renderer/src/i18n/locales/de.json (+517/-38, pe… Provide readable diff or blob evidence for src/renderer/src/i18n/locales/de.json (base and head) so the 365 added keys can be checked against the en.json keys listed in #49862 for the workspaces, sidebar, editor, terminal and browser area. …
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names the main change: adding German translations for 365 missing desktop strings in workspaces, sidebar, editor, terminal and browser. The raw summary confirms only de.json changes, which m…
Description check Passed The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue (Fixes #49862), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosure, Revi…
Out of Scope Changes check Passed The supplied summary and PR description report one changed file, de.json, with only added or extended German values and trailing-comma edits to existing lines. No code, other locales or en.json entrie…
Full details: Title check

Explanation

The title names the main change: adding German translations for 365 missing desktop strings in workspaces, sidebar, editor, terminal and browser. The raw summary confirms only de.json changes, which matches the title. The title is long (109 characters) but remains specific and related.

Full details: Description check

Explanation

The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue (Fixes #49862), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosure, Review, the upstream boundary checkbox, Notes, and Checklist. The Linked Issue line reads 'Fixes #49862', which matches the objectives. Minor gaps: the Testing section leaves the manual-test box unticked with an explanation, and the lint/typecheck/test/build checklist item is unticked with a note. These are disclosed, not omitted, so the description is complete.

Full details: Out of Scope Changes check

Explanation

The supplied summary and PR description report one changed file, de.json, with only added or extended German values and trailing-comma edits to existing lines. No code, other locales or en.json entries change. The added values are German translations of catalog keys, which directly implement the issue's localization objective. The head file read shows German entries in the same locale catalog. No unrelated change was found. Possible overlap with other German PRs for #49862 was not verified, but the author states that no key appears in two PRs.

Full details: Linked Issues check

Explanation

Issue #49862 asks for German values for 365 missing keys in the workspaces, sidebar, editor, terminal and browser area. The PR adds German values to src/renderer/src/i18n/locales/de.json (+517/-38, per the supplied summary and PR description). The diff of de.json could not be read; the repository reported changed blobs as missing. A file read at head returned only the first ~16000 bytes, which show existing and added German entries but do not cover the 365 keys. Key-level coverage, and that each new value is placed under its intended key, cannot be confirmed from the available evidence. The author's report of a passing pnpm verify:localization-catalog run (desktop de coverage 20,399 to 20,764) supports coverage but is not independent evidence from this review. No coding requirement beyond catalog values applies; the change adds no code or tests.

Resolution

Provide readable diff or blob evidence for src/renderer/src/i18n/locales/de.json (base and head) so the 365 added keys can be checked against the en.json keys listed in #49862 for the workspaces, sidebar, editor, terminal and browser area. Alternatively, supply the output of pnpm verify:localization-catalog at head that lists the missing-key count for those areas.

  • 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: 1c3f1ab8-b9d6-4a94-9440-9a757dd6198f
Commits

Reviewing files that changed from the base of the PR and between 845867a and c17b300.

Files selected for processing: 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; 0 remain after this review.

This branch has not been deployed

No deployments
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]: With the desktop app set to German, 2,264 strings in settings, bots and workspaces show in English

1 participant