Skip to content

i18n(de,fr,es): translate the Bots strings #45740 doesn't cover - #46319

Merged
AmoabaKelvin merged 1 commit into
mainfrom
n21-l10n-west
Nov 21, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
n21-l10n-west

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

In German, French or Spanish, some Bots screens stay in English. #45740 translates most of them. This PR translates the remaining 280 strings that #45740 doesn't add, so the two together leave no Bots text in English.

Files Added Deleted Net
Test 0 0 0 0
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1106 $\color{#cf222e}{\Huge{\mathbf{−}}}$​32 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1074

What Changed

Before: on main, de.json is missing 2,404 bot keys and fr.json/es.json 2,402 each. Open team PR #45740 adds about 2,200 of them per locale. Measured against fresh main, 280 bot keys per locale are still missing from both: 77 are newer than #45740's base and the rest it doesn't add. Most of them are the bots intro tour (featureTips.botsTeammate.*), bot row states (bots.row.*), new-bot computer/colour pickers, the access confirm sheet, usage-limit labels, look-around schedule labels, the chat composer's bot offers (components.native-chat.botCreateOffer/botRequest/composer.bot*), and a few shortcut and sidebar labels.

After: this PR adds those 280 keys to de and 282 to fr and es. fr and es also get _many plural forms, the same as their other plurals. With #45740 merged too, no bot key is missing in any of the three locales. Until it merges, the keys it adds still show English.

Mechanism: the same catalog path #45750 used. Strings went in through config/scripts/locale-catalog/apply-translation-delta.mjs (placeholder checks plus each locale's term policy). The policy repaired nothing, and no key overrides were needed. Only keys are added: no existing value changed or was removed.

Wording follows #45740 and the existing catalogs, so the screens read the same once both land. That covers Bot/bot, Agent/agent/agente, Worker, Workspace/espace de travail/workspace, Konnektor/connecteur/conector, Element/élément/elemento, „Braucht dich“/A besoin de vous/Te necesita, and Home-Chat/Chat principal. Register also matches each catalog: German du, French vous, Spanish tú. Product names stay Latin.

Why

The keys that #45740 adds already have translations there, so this PR leaves them alone and only fills the gap. That avoids two different translations of the same strings and doesn't take over a team PR. The two PRs add disjoint keys, so whichever lands second only needs apply-translation-delta.mjs re-run on the rebased catalogs. That script skips keys already present.

Linked Issue

Refs #45646. Full Bots coverage in de, fr and es needs #45740 rebased and merged as well.

Visual Proof

Component fixtures rendered with the UI language forced to each locale. Before is main, after is this branch. Lines that stay English after belong to #45740.

German, usage-limit rows
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

German, access confirm
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

French, access confirm
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

French, usage-limit rows
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

Spanish, access confirm
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

Spanish, usage-limit rows and computer picker
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)

Testing

Reproduced by counting en bot keys missing from each catalog on fresh main and from #45740's head. After the change, a recount on fresh main plus #45740 finds 0 bot keys missing in de, fr and es. pnpm verify:localization-catalogs passes (de 19,174/23,852, es 19,239, fr 19,248). A second review pass checked every string against the English and #45740's terms. It led to 17 fixes, such as German Element instead of Eintrag, Spanish gender agreement, and French "de plus". I rejected 6 of its suggestions that would have broken the " did X" activity-line pattern #45740 uses, or the Spanish status label #45740 uses. I spot-checked the access confirm, usage-limit rows, computer picker and bot row fixtures in each locale. pnpm check:changed passed on macOS.

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below: catalog entries only; project policy excludes copy tests
  • Every added test fails without this change and avoids the test anti-patterns

Performance

None at runtime. Catalogs load only for the selected language, outside the boot bundle. Sizes: de 1,430,936 → 1,447,740 bytes (383.6 → 388.6 KB gzipped), fr 1,465,386 → 1,482,689 (386.3 → 391.2 KB), es 1,428,572 → 1,445,145 (379.9 → 384.8 KB).

Risk

Catalog additions only, and no code paths change. The worst case is a wording a reader finds off, which is a one-line catalog fix. Revert is a plain revert.

Level: Low

AI Disclosure

Review

This PR changes the desktop renderer catalog only. Mobile catalogs are covered by #45740. SSH, remote hosts and folder workspaces aren't affected, because no path, host or workspace logic changed. Placeholders and <b>/<0> markup match English in every entry.

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

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 21, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The German, Spanish, and French locale files add bot-related interface text for discovery, chat, setup, work items, automations, access, sharing, and settings. The Spanish weekly tidy-up schedule wording changes to use the {{from}} time placeholder. No implementation behavior changes are shown.

Merge Risk: Minimal · up to c8584

This change adds German, French and Spanish translations for the Bots interface and does not change application behavior. The earlier host placeholder concern was checked and is not a problem. The risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: adding German, French and Spanish translations for the Bots strings that PR #45740 does not cover. It matches the changeset, which only adds locale catalog keys. The t…
Description check Passed The description follows the repository template. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, Review, Notes and Checklist. The Linked Issue section uses '…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding German, French and Spanish translations for the Bots strings that PR #45740 does not cover. It matches the changeset, which only adds locale catalog keys. The title is specific, though it uses the internal reference #45740 and a scope tag, which a reader outside the team may not follow.

Full details: Description check

Explanation

The description follows the repository template. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, Review, Notes and Checklist. The Linked Issue section uses 'Refs #45646' rather than 'Fixes #', which the template treats as insufficient for outside contributors. The AI Disclosure section is left empty. The author is not a StablyAI team member as far as the description shows, so that section may need filling in. The Performance and Risk sections contain specific, filled-in content.

Resolution

Confirm whether the author is a StablyAI team member. If not, link an actual issue in the Linked Issue section instead of 'Refs #45646', and complete the AI Disclosure section. Also tick the 'Level' placeholder only if the template requires it, since the Risk section already states Low.

  • 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: a1b43f08-8d41-49b6-b00c-c8930edb8133
Commits

Reviewing files that changed from the base of the PR and between 99aba33 and c8584c0.

Files selected for processing: 3

  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.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.

@AmoabaKelvin
AmoabaKelvin merged commit bf189a5 into main Nov 21, 2026
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.

1 participant