Skip to content

fix(i18n): translate 237 missing German desktop strings for bots - #49866

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

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

Conversation

@yohangwak

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to German, parts of the desktop app still show English: bots. This PR adds German for 237 of those strings (part 1 of 7). Only the German word list changes.

What Changed

  • Before: 237 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 (bots).
  • 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 +324 −13; 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.automations.runViewState.handledInTurn Answered in the bot’s conversation In der Unterhaltung des Bots beantwortet
bots.access.actsAsYou They act as you on {{computer}}. Sie handeln in deinem Namen auf {{computer}}.
bots.access.yourComputer your computer deinem Computer
bots.activity.waitsOnBackground Waiting on its background task Wartet auf seine Hintergrundaufgabe
bots.apps.addAppsTitle Add apps to {{bot}} Apps zu {{bot}} hinzufügen
bots.apps.addedCaption Added Hinzugefügt
bots.apps.addedCount {{count}} added {{count}} hinzugefügt
bots.apps.chip.more More Mehr
bots.apps.composio.changeKeyTitle Change your Composio key Composio-Schlüssel ändern
bots.apps.couldNotConnect Couldn’t connect {{app}} {{app}} konnte nicht verbunden werden

Why

These strings sit in screens that are otherwise German, so each English line stands out.

Linked Issue

Fixes #49862

This PR covers the bots 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 (e762fc9) is based on main at 4e43dff:

  • pnpm verify:localization-catalog passes: desktop de coverage goes from 20,399 to 20,636 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 15 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 1 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

Adds German for bot screens stablyai#45740 and stablyai#47391 do not cover: Slack/GitHub/Google setup, new-bot host setup, paired servers, items and sharing.

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 adds and updates Bot-related interface text. The strings cover Bot setup and activity, app connections, GitHub and Slack, automation, Composio, and Google account management. No application logic or public declarations change.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to e762f

This change adds German translations for bot-related screens so they no longer fall back to English. It changes no application logic and carries no identified risk.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49862 asks for German values for the 237 bot keys missing from de.json. The PR description and the AI-generated summary say the change adds German values for those keys, with no change to exist… Provide readable de.json blobs at the head (and merge base) so the 237 bot keys can be compared against en.json. Confirm each key has a non-empty German value. Confirm that placeholders such as {{computer}} and {{bot}} match the English val…
Out of Scope Changes check Inconclusive The PR summary states that only src/renderer/src/i18n/locales/de.json changes, with no code changes. That is within the scope of a German catalog task. However, the AI-generated summary of de.json lis… Provide the readable de.json diff. Confirm that the added keys under WSL, SSH, host, account, and Google topics belong to bot screens or the bots key list in #49862, and are not keys from the other six areas.
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title "fix(i18n): translate 237 missing German desktop strings for bots" matches the main change: adding German translations for 237 bot-related keys in de.json. It is specific and accurate. It us…
Description check Passed The description follows the template well. It has ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Fixes #49862, though the number is a link to an issue, not a bare placeholder), Vi…
Full details: Title check

Explanation

The title "fix(i18n): translate 237 missing German desktop strings for bots" matches the main change: adding German translations for 237 bot-related keys in de.json. It is specific and accurate. It uses a conventional-commit prefix, which is acceptable. It does not cover the other six PRs, which is expected.

Full details: Description check

Explanation

The description follows the template well. It has ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Fixes #49862, though the number is a link to an issue, not a bare placeholder), Visual Proof (N/A with reason), Testing (manual test box unchecked with reason), Performance (None, because...), Risk (Level: Low with backout), AI Disclosure, Review, Agent skill boundary, Notes, and Checklist. Minor gaps: the Linked Issue line is 'Fixes #49862' rather than the template's bare 'Fixes #' placeholder, which is filled in. The lint/typecheck/test/build checkbox is unchecked and explained. The description is largely complete.

Full details: Linked Issues check

Explanation

Issue #49862 asks for German values for the 237 bot keys missing from de.json. The PR description and the AI-generated summary say the change adds German values for those keys, with no change to existing values or other locales. The text diff of src/renderer/src/i18n/locales/de.json (merge base 4e43dff to head e762fc9) could not be read, because the changed blobs are missing from the checkout. Key coverage, placeholder and tag parity, and value quality therefore cannot be confirmed from repository evidence. The author's catalog verifier output is reported but not independently checked here. The PR description's sample table is consistent with the requirement.

Resolution

Provide readable de.json blobs at the head (and merge base) so the 237 bot keys can be compared against en.json. Confirm each key has a non-empty German value. Confirm that placeholders such as {{computer}} and {{bot}} match the English values. Alternatively, run pnpm verify:localization-catalog at the head and report the bot-key coverage.

Full details: Out of Scope Changes check

Explanation

The PR summary states that only src/renderer/src/i18n/locales/de.json changes, with no code changes. That is within the scope of a German catalog task. However, the AI-generated summary of de.json lists topics such as WSL setup, paired servers, SSH-related host selection, and Google account management. The issue assigns WSL, SSH and VM hosts and accounts to other PRs. Some of these entries may be bot-related (for example, host selection in bot setup), but the diff could not be read to confirm this. No unrelated change is demonstrated.

Resolution

Provide the readable de.json diff. Confirm that the added keys under WSL, SSH, host, account, and Google topics belong to bot screens or the bots key list in #49862, and are not keys from the other six 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: 90694d8d-2fbd-4f62-9d71-8dd42d9f4ed8
Commits

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

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