You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds German (de, label Deutsch) as a built-in UI language. It is registered the same way as Russian and Turkish.
The German catalog is machine-translated. Every chunk went through two independent review passes. Fixes were applied only where both reviewers agreed or a separate arbiter pass confirmed them. A terminology-consistency sweep then ran over the whole catalog. A review by native German speakers is very welcome. Please comment on specific keys, or suggest changes to the glossary in config/i18n-german.md.
Registration points
src/shared/ui-language.ts: adds UI_LANGUAGE_GERMAN to the built-in type and the normalize set.
src/shared/ui-locale.ts: adds de to SUPPORTED_UI_LOCALES and resolveUiLocale. The system tags de, de-DE, de-AT, de-CH and de_DE.UTF-8 resolve to de.
src/renderer/src/i18n/supported-languages.ts: adds the Settings choice and the native fallback label Deutsch.
src/renderer/src/i18n/i18n.ts and src/main/i18n/main-i18n.ts: lazy-load the catalog. The main bundle ships only the main-process subset through the existing build plugin, so the de chunk in out/main is 15.8 kB (French is 16.2 kB).
settings.appearance.language.german = "Deutsch" is added to every catalog.
appearance-search.ts: adds the Deutsch keyword and the native word Sprache. Sprache is also added to the coverage allowlist.
config/scripts/apply-translation-delta.mjs: adds de to the supported locales, as was done for ru.
Docs: docs/site/content/docs/settings.mdx.
config/i18n-german.md: the glossary and style guide.
Catalog
de.json covers 16,422 of 16,434 keys. The 12 missing keys are the sparse-policy entries that must fall back to English: the status-bar credit/balance copy (auto.components.status.bar.*, see provider-credit-balance-locales.test.ts) and writeNotice.notDoneGoalChangeIncomplete.
Voice: neutral phrasing and infinitive buttons (Speichern, Branch auswählen). Where a sentence has to address the user, it uses du. Only a handful of strings do this. The catalog never uses Sie.
Terms: developer terms stay in English (Worktree, Branch, Commit, Pull Request, Repository, Diff, Issue, Label, Agent). Workspace is Arbeitsbereich and pane is Bereich.
Checks: placeholders, tags, markdown, backticks, newlines and edge whitespace all match English. No strings are empty.
Length: German text is about 31% longer than English overall. Some short labels grow a lot, for example Sleep → In Ruhezustand versetzen, Unmute Tab → Stummschaltung des Tabs aufheben, Match Case → Groß-/Kleinschreibung beachten and Use global → Globale Einstellung verwenden. Tight toolbars and badges are worth a visual check.
Tests
In ui-locale and ui-language, the German system tags resolve to de.
The onboarding picker count goes from 10 to 11.
Tests that used de-DE as the example of an unsupported system language now use it-IT.
Compatibility
Older clients and servers:normalizeUiLanguage maps an unknown de to system, so mixed versions degrade to the OS language.
Plugin language packs: a de plugin pack keeps its own plugin: id and resource language, so it does not collide with the built-in.
Mobile: mobile has no UI i18n, so nothing changes there.
Validation
pnpm sync:localization-runtime-catalog, then pnpm verify:localization-{catalogs,extraction,coverage,runtime-catalog}: all pass.
pnpm tc:web and pnpm tc:node: pass.
pnpm test on src/shared, src/renderer/src/i18n, src/main/i18n, the onboarding and settings components, and verify-localization-catalog.test.mjs: 15,961 tests passed. One timing-sensitive test in remote-runtime-shared-control-connection.test.ts, unrelated to this change, failed under machine load and passes when run on its own.
ORCA_ELECTRON_VITE_TARGET=main electron-vite build: the de chunk is 15.75 kB.
Register German (de) as a built-in UI language alongside en, zh, zh-Hant,
ko, ja, es, fr, pt, ru and tr: language setting, system-locale detection
(de, de-DE, de-AT, de-CH, de_DE.UTF-8), renderer and main-process lazy
catalogs, Settings picker label in every catalog, the "Sprache" settings
search keyword, onboarding picker, docs and a German glossary and style
guide (config/i18n-german.md).
de.json covers every en.json key except the sparse-policy entries that must
fall back to English (status-bar credit balance copy and the incomplete goal
change notice). Tests that used de-DE as the unsupported system language now
use it-IT.
The catalog is machine-translated, reviewed by two independent passes with
arbitrated fixes, and swept for terminology consistency.
We encountered an issue with GitHub. Use @coderabbitai full review to retry the review.
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: 12c06f4c-e32b-490e-8e64-12227d413211
Commits
Reviewing files that changed from the base of the PR and between db8a7bc and af5b673.
Files selected for processing: 3
src/renderer/src/i18n/locales/de.json
src/renderer/src/i18n/locales/en.json
src/renderer/src/i18n/locales/pt.json
Files skipped from review as they are similar to previous changes: 2
src/renderer/src/i18n/locales/en.json
src/renderer/src/i18n/locales/pt.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
Context from checks skipped due to timeout: 7
GitHub Check: CodeRabbit
GitHub Check: WSL2 distro (fedora-41)
GitHub Check: WSL2 distro (ubuntu-24.04)
GitHub Check: WSL2 distro (debian-12)
GitHub Check: persistence (ubuntu-22.04)
GitHub Check: static analysis and typecheck
GitHub Check: Mobile verify
Walkthrough
The change adds German (de) to shared UI language and locale handling. German appears in language choices and language-name catalogs, and the renderer and main process can load the German catalog. Search terms, settings documentation, localization guidance, and translation tooling are updated. Tests cover German locale recognition and account for the additional language option.
Priority: Normal
Pre-merge checks: 3 · 2
Failed checks: 2 warnings
Check name
Status
Explanation
Resolution
Description check
The description explains the implementation, scope, testing, compatibility, and translation status. However, it does not follow the repository template because it omits an actual linked issue, visual …
Add the required template sections and complete them. Include a real issue link after "Fixes #", provide before-and-after visual proof or state "N/A" with a reason, document the required checklist items, and include the remaining required s…
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the primary change: adding German as a UI language.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description explains the implementation, scope, testing, compatibility, and translation status. However, it does not follow the repository template because it omits an actual linked issue, visual proof or an explicit N/A statement, checklist completion, and several required headings.
Resolution
Add the required template sections and complete them. Include a real issue link after "Fixes #", provide before-and-after visual proof or state "N/A" with a reason, document the required checklist items, and include the remaining required sections such as Why, Review, Notes, and AI Disclosure when applicable.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 12 files. (3 skipped: 3 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
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.
Add a German native-preference case at this wrapper boundary.
The changed row now uses it-IT, so system-language.test.ts no longer checks that getSystemLanguageDetection propagates a supported de-DE preference as { locale: 'de', status: 'supported', source: 'native' }. The shared resolver tests cover de-DE, but they do not exercise this wrapper. Add a German native-preference case to preserve this integration coverage.
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: a1b3f2b8-7a1a-402e-93e2-b84189c47f1f
Commits
Reviewing files that changed from the base of the PR and between 2d3e7e4 and db8a7bc.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Translate the 158 keys main added since the branch point (WSL project move,
diff size limits and others), reviewed by two passes like the rest of the
catalog, and drop the 5 keys main retired.
Drop TabGroupDropOverlay.paneColumnLabel from the German catalog main
added (stablyai#34917). This PR removes the string, and the catalog check
fails on a key that en.json no longer has.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds German (
de, label Deutsch) as a built-in UI language. It is registered the same way as Russian and Turkish.The German catalog is machine-translated. Every chunk went through two independent review passes. Fixes were applied only where both reviewers agreed or a separate arbiter pass confirmed them. A terminology-consistency sweep then ran over the whole catalog. A review by native German speakers is very welcome. Please comment on specific keys, or suggest changes to the glossary in
config/i18n-german.md.Registration points
src/shared/ui-language.ts: addsUI_LANGUAGE_GERMANto the built-in type and the normalize set.src/shared/ui-locale.ts: addsdetoSUPPORTED_UI_LOCALESandresolveUiLocale. The system tagsde,de-DE,de-AT,de-CHandde_DE.UTF-8resolve tode.src/renderer/src/i18n/supported-languages.ts: adds the Settings choice and the native fallback labelDeutsch.src/renderer/src/i18n/i18n.tsandsrc/main/i18n/main-i18n.ts: lazy-load the catalog. The main bundle ships only the main-process subset through the existing build plugin, so thedechunk inout/mainis 15.8 kB (French is 16.2 kB).settings.appearance.language.german = "Deutsch"is added to every catalog.appearance-search.ts: adds theDeutschkeyword and the native wordSprache.Spracheis also added to the coverage allowlist.config/scripts/apply-translation-delta.mjs: addsdeto the supported locales, as was done forru.docs/site/content/docs/settings.mdx.config/i18n-german.md: the glossary and style guide.Catalog
de.jsoncovers 16,422 of 16,434 keys. The 12 missing keys are the sparse-policy entries that must fall back to English: the status-bar credit/balance copy (auto.components.status.bar.*, seeprovider-credit-balance-locales.test.ts) andwriteNotice.notDoneGoalChangeIncomplete.Speichern,Branch auswählen). Where a sentence has to address the user, it usesdu. Only a handful of strings do this. The catalog never usesSie.Arbeitsbereichand pane isBereich.Sleep→In Ruhezustand versetzen,Unmute Tab→Stummschaltung des Tabs aufheben,Match Case→Groß-/Kleinschreibung beachtenandUse global→Globale Einstellung verwenden. Tight toolbars and badges are worth a visual check.Tests
ui-localeandui-language, the German system tags resolve tode.de-DEas the example of an unsupported system language now useit-IT.Compatibility
normalizeUiLanguagemaps an unknowndetosystem, so mixed versions degrade to the OS language.deplugin pack keeps its ownplugin:id and resource language, so it does not collide with the built-in.Validation
pnpm sync:localization-runtime-catalog, thenpnpm verify:localization-{catalogs,extraction,coverage,runtime-catalog}: all pass.pnpm tc:webandpnpm tc:node: pass.pnpm testonsrc/shared,src/renderer/src/i18n,src/main/i18n, the onboarding and settings components, andverify-localization-catalog.test.mjs: 15,961 tests passed. One timing-sensitive test inremote-runtime-shared-control-connection.test.ts, unrelated to this change, failed under machine load and passes when run on its own.ORCA_ELECTRON_VITE_TARGET=main electron-vite build: thedechunk is 15.75 kB.