Skip to content

fix(i18n): translate 2,252 missing French desktop strings for Bots and recent features - #51396

Merged
nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/fr-desktop-missing-strings
Nov 28, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/fr-desktop-missing-strings

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Français, the Bots screens and other recent features still showed English. This PR adds the French text for those 2,252 strings.

What Changed

  • Before: 2,252 keys in src/renderer/src/i18n/locales/fr.json had no value, so i18next fell back to English inside French screens. Bot connections (webhooks, Composio, Google, Slack, GitHub, Linear, apps) had 804, Bots screens 608, bot sharing, access, groups and hosts 324, Settings → Bots 247, automation bot targets and events 70, the browser annotate palette, toolbar and cookie import 53, and other recent strings 112.
  • After: each of those keys has a French value. The wording reuses terms already in fr.json and mobile/src/i18n/locales/fr.json. Product names (Orca, Slack, GitHub, Linear, Composio, MCP), code and file names stay as written. A review pass made bot wording use «chat», «Home» and «Échap» the same way the rest of the French catalog does.
  • Mechanism: this only adds new leaves to fr.json. 34 of them are _many plural forms that copy the _other text, which is what syncLocalePluralForms produces. No existing French value changes. No English string, code or other locale changes. The 37 removed lines exist only because a trailing comma was added.

Why

These strings appear on screens that are otherwise French, so the English lines stand out. Each language gets its own PR and touches only its own catalog. The built-in bot template and skill strings (bots.templates, bots.templateSkills) are left to #47391, and the status bar usage tooltips are left to #24634.

Linked Issue

Fixes #51405

Visual Proof

N/A. Only catalog text changes. There is no layout or code change, and the existing catalog verifiers check the placeholder and tag sets. Sample i18next output with the app language set to Français:

Key main This PR
sidebar.botsSplit.resize Resize bots and projects Redimensionner les bots et les projets
browser.cookieImport.notice.importedCount Imported 3 cookies 3 cookies importés
settings.bots.fileChangedOnDisk notes.md changed on disk. notes.md a été modifié sur le disque.
bots.row.deleteTitle Delete Helper? Supprimer Helper ?
bots.slack.setup.checking Checking Slack… Vérification de Slack…
browser.toolbar.annotateMode Annotate, grab or draw Annoter, capturer ou dessiner

Testing

  • I manually tested these changes locally: I did not open the app, because only catalog values change.
  • Automated tests added/updated, or explained why not below: no tests were added. The existing catalog verifiers cover new catalog values (placeholders, tags, glossary, plural forms, coverage).
  • Every added test fails without this change and avoids the test anti-patterns: no tests added.

Checks run on macOS, rebased onto current main and squashed to one commit:

  • pnpm verify:localization-catalogs passes. fr.json coverage went from 23,072 leaves on main to 24,832 of 25,127 translated keys.
  • pnpm verify:localization-coverage and pnpm verify:localization-protected-copy pass.
  • oxfmt --check and the changed-code quality gate pass. The JSON parses.

Performance

Only the French desktop catalog changes. It grows from 1.74 MB to 1.88 MB and is fetched lazily through ?url, only when French is selected. One-time JSON.parse went from 2.75 ms to 2.92 ms (best of 20, Node). No hot path, polling, or per-item work changes.

Risk

Level: Low

Only French text is added. A wrong word would show to French users in place of the English fallback. A plain revert undoes the change.

Review

  • Cross-platform: text only.
  • SSH/remote: not affected. Hosts do not read UI catalogs.
  • Mobile: only the desktop catalog changes. The phone catalog is untouched.
  • Security: no changes.

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.

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): catalog verifiers ran locally, and CI covers the rest.

Original fix by @yohangwak in #51396.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The French locale adds or expands translations for browser tools, emulator settings, artifacts, shared interface controls, and bot workflows. Bot translations cover setup, configuration, activity, access, sharing, and integrations. The changes affect locale strings only; they do not change application logic or exported declarations.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 5b357

This PR adds French translations for many missing desktop interface strings, so French users should see fewer English fallbacks in the Bots screens and other recent features. It changes locale data only, with no logic changes. No merge-blocking risk was identified. Translation wording was not reviewed in the app.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: French translations for 2,252 missing desktop strings in the Bots screens and recent features. It uses the conventional fix(i18n) prefix and matches the changeset, whi…
Description check Passed The description follows the repository template. It covers ELI5, What Changed (before and after, plus mechanism), Why, Linked Issue (Fixes #51405), Visual Proof (N/A with a reasoned table of i18next o…
Linked Issues check Passed Directly linked issue #51405 requires French values for the 2,252 desktop catalog keys missing from src/renderer/src/i18n/locales/fr.json, including the 34 French-applicable _many forms. The whole-PR …
Out of Scope Changes check Passed The whole-PR diff changes one file, src/renderer/src/i18n/locales/fr.json. No code, test, or other locale file changes appear in the scope. The visible hunks add only new French leaf values and traili…
Full details: Title check

Explanation

The title names the main change: French translations for 2,252 missing desktop strings in the Bots screens and recent features. It uses the conventional fix(i18n) prefix and matches the changeset, which only adds French catalog values to fr.json. The title is long (86 characters) but still specific.

Full details: Description check

Explanation

The description follows the repository template. It covers ELI5, What Changed (before and after, plus mechanism), Why, Linked Issue (Fixes #51405), Visual Proof (N/A with a reasoned table of i18next output), Testing, Performance, Risk (Level: Low with a revert note), AI Disclosure, Review, the upstream boundary checkbox, and the checklist. The Visual Proof section gives a reasoned N/A-style comparison rather than a before/after screenshot, which is acceptable for catalog-only text. The Testing section admits the change was not manually run in the app, which is a gap against the template's manual-test expectation but is disclosed.

Full details: Linked Issues check

Explanation

Directly linked issue #51405 requires French values for the 2,252 desktop catalog keys missing from src/renderer/src/i18n/locales/fr.json, including the 34 French-applicable _many forms. The whole-PR diff (mergeBase aa7788e to head 5b357f2) changes only fr.json. The visible hunks add French values in the areas named by #51405: browser cookie import notice and annotate toolbar, annotate palette, grab toast, browser extension failures, bots (memory, tidy-up, look-around, skills, groups, notifications, host enablement), and shared links. The 272 template and skill keys (#47391) and 10 status bar tooltips (#24634) are excluded, as the issue requires. Limits: the diff output was truncated at 16000 bytes, so the remaining hunks were not read. Key-level completeness of all 2,252 keys is therefore not directly verified. The count rests on the PR's reported script checks and the visible hunks. This check is a prior-review carry-forward, supported by the new visible content.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff changes one file, src/renderer/src/i18n/locales/fr.json. No code, test, or other locale file changes appear in the scope. The visible hunks add only new French leaf values and trailing commas on existing lines. The 'profile' and 'lookAround.title' lines change only by a trailing comma. The 'failed' value is unchanged. The added keys match the areas listed in #51405. The AI-generated raw summary says existing translations were 'revised or supplemented'. The visible hunks do not show any changed existing value, which contradicts that summary and matches the PR description ('No existing value changes'). Limit: the truncated remainder of the diff was not read, so no value change in that remainder can be ruled out from direct evidence.

  • 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: da916151-b02b-4922-9190-f7ba213826cf
Commits

Reviewing files that changed from the base of the PR and between 6159d55 and 5b357f2.

Files selected for processing: 1

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

  • 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; 0 remain after this review.

@nwparker
nwparker force-pushed the yohangwak/fr-desktop-missing-strings branch from 08458f5 to 6159d55 Compare November 28, 2026 03:42
…nt features

Add French values for 2,252 desktop catalog keys that fell back to
English: bot connections, bot screens, sharing and access, Settings >
Bots, automation bot targets, the browser annotate palette and cookie
import, and other recent strings. Bot wording uses "chat", "Home" and
"Échap" consistently with the rest of the French catalog.

Fixes stablyai#51405

Co-authored-by: Neil <[email protected]>
@nwparker
nwparker force-pushed the yohangwak/fr-desktop-missing-strings branch from 6159d55 to 5b357f2 Compare November 28, 2026 03:50
@nwparker
nwparker merged commit b337aa2 into stablyai:main Nov 28, 2026
55 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]: French desktop app shows English in the Bots screens and other recent features (2,252 missing strings)

2 participants