Skip to content

fix(i18n): translate missing French desktop strings for usage limits, sidebar, source control, editor and plugins - #49850

Merged
nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/fr-desktop-i18n-3
Nov 26, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/fr-desktop-i18n-3

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to French, parts of the desktop app still showed English: usage limits, the sidebar, source control, the editor and plugins. This adds French for 593 of those strings. Only the French word list changes.

What Changed

  • Before: 593 keys in en.json had no entry in src/renderer/src/i18n/locales/fr.json, so i18next fell back to English inside otherwise French screens (rate-limit errors, auto-naming, source control status, editor typography, plugins, automation runs, VM creation).
  • After: each of those keys has a French value, plus the _many plural forms French needs (copied from _other). Values use vous like the rest of fr.json, French typography (a space before : ? ;, « » quotes, …), and its established terms. Strings with a count use a label form (À supprimer : {{count}}) so they read correctly for one item.
  • Mechanism: new leaves in fr.json only, each placed after its nearest existing en.json sibling (+789 / −46; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes. Every value keeps the English {{placeholder}} and <tag> sets.
Key English (before) French (after)
auto.components.GitHubItemDialog.refreshTask Refresh task Actualiser la tâche
auto.components.TaskPage.gitlabLoadFailed Could not load GitLab work items. Refresh to try again. Impossible de charger les éléments de travail GitLab. Actualisez pour réessayer.
auto.components.Terminal.93c2e9d845 There is running work in chats or terminals. Close the window anyway? Des tâches sont en cours dans des chats ou des terminaux. Fermer quand même la fenêtre ?
auto.components.browserPane.externalApp.alwaysAllow Always allow {{site}} to open {{scheme}} links Toujours autoriser {{site}} à ouvrir les liens {{scheme}}
auto.components.editor.BinaryFileDefaultAppButton.downloadFailed Failed to download '{{value0}}'. Impossible de télécharger « {{value0}} ».

Why

These strings sit in screens that are otherwise French, so each English line stands out. Adding catalog values is the only change needed; the keys and code paths already exist.

Linked Issue

Refs #49845

This is part 3 of 4 French PRs for that issue (usage limits, sidebar, source control, editor and plugins); the issue stays open until the other parts land.

Visual Proof

N/A: only translation catalog values change, with no layout, styling or interaction change. The table above shows what the affected labels render as with the interface set to Français.

Testing

  • I manually tested these changes locally (catalog-only change; verified with the catalog verifiers below)
  • Automated tests added/updated, or explained why not below: none added; the existing catalog verifiers check placeholders, tags and coverage for every new value.
  • Every added test fails without this change and avoids the test anti-patterns: no tests added.

On macOS, rebased as one commit on current main:

  • verify:localization-catalog passes; fr.json now verifies 21,469 entries (English has 25,069 keys).
  • verify:localization-protected-copy and verify:localization-coverage --check pass.
  • fr.json parses as JSON and passes oxfmt --check; the changed-code quality gate reports no changed JS/TS.
  • The squashed commit's changed lines are byte-identical to the reviewed diff.

Performance

None, because only the French catalog grows (about 1,508 KB to 1,557 KB, +3%). It is fetched once when French is selected, not on any hot path. JSON.parse of the old and new file measured 28–46 ms vs 20–34 ms on a loaded machine, so the difference is within noise. There is no new code path, I/O, polling or subprocess work.

Risk

Level: Low

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

Review

Copy-only change to one locale catalog. Cross-platform: shared catalog. SSH/remote and mobile: no change. Performance: data only, loaded on demand. Security: no code, endpoints or scripts added.

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

Original fix by @yohangwak in #49850 (authorship preserved on the commit).

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): CI covers; the localization verifiers and format check pass locally.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Le fichier de localisation française ajoute et met à jour des libellés, messages d’état, prompts et messages d’erreur. Les entrées concernent notamment les espaces de travail, les agents, les réglages, l’utilisation, les plugins, Git, l’automatisation et le navigateur. Aucun changement de logique applicative n’est indiqué.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 05930

This change adds French translations for usage limits, sidebar, source control, editor and plugin screens, replacing English fallbacks. It does not touch application logic, so the production impact and the risk of merging are minimal.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive [#49845] Requirement: French values for the 593 missing usage limits, sidebar, source control, editor and plugin keys in src/renderer/src/i18n/locales/fr.json. The head blob of fr.json is readable, bu… Provide the whole-PR text diff of src/renderer/src/i18n/locales/fr.json (merge base 4e43dff to head 05930a0). Then confirm: (1) the added leaf keys match the 593 usage, sidebar, source control, editor and plugin keys from en.json; (…
Out of Scope Changes check Inconclusive The PR description says only fr.json changes, with new leaves and comma-only edits to existing lines. The head file is readable, but the diff is unavailable, so no line-level check was possible. The r… Provide the whole-PR diff of fr.json (merge base 4e43dff to head 05930a0), or the list of changed leaf keys. Confirm that every added key belongs to the 593-key set in #49845 and that no existing French value was modified.
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the main change: French translations for missing desktop strings in usage limits, sidebar, source control, editor and plugins. It matches the changeset, which adds fr.json entries for …
Description check Passed The description follows the template closely. It has ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Refs #49845, which is a partial reference), Visual Proof marked N/A with a reas…
Full details: Title check

Explanation

The title names the main change: French translations for missing desktop strings in usage limits, sidebar, source control, editor and plugins. It matches the changeset, which adds fr.json entries for those areas. It is long (113 characters) but still specific and accurate. The conventional-commit prefix 'fix(i18n)' fits a catalog-only change.

Full details: Description check

Explanation

The description follows the template closely. It has ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Refs #49845, which is a partial reference), Visual Proof marked N/A with a reason, Testing, Performance, Risk with level Low, AI Disclosure, Review, Agent skill boundary, Notes and Checklist. Two items need attention. The Linked Issue uses 'Refs' instead of 'Fixes', and the template says a link to an actual issue is required for outside contributors; the author notes the issue stays open, so this is acceptable for a partial fix. The AI Disclosure section is left blank, and the lint/typecheck/test/build checklist box is unchecked with a note that CI will cover it. These are minor gaps, so the description is mostly complete.

Resolution

Optionally, confirm the AI Disclosure section (fill it in, or note it does not apply to a stablyai team member). Optionally, mark the lint, typecheck, test and build checklist item once run locally, or leave the CI note as is.

Full details: Linked Issues check

Explanation

[#49845] Requirement: French values for the 593 missing usage limits, sidebar, source control, editor and plugin keys in src/renderer/src/i18n/locales/fr.json. The head blob of fr.json is readable, but the whole-PR diff against the merge base (4e43dff) is unavailable, so the added keys cannot be compared with the 593 keys in the issue. The 10-row sample in the PR description shows French values for the expected screens, and the PR states that the catalog verifier passed. The reported coverage change (20,871 to 21,468) is +597 entries, not +593, and the 4-entry difference is not explained. The 'raw summary' also lists browser, agent, workspace and Git entries and says existing entries were 'extended'. These points cannot be resolved without the diff. No coding requirement is shown to be unmet, and none is shown to be met.

Resolution

Provide the whole-PR text diff of src/renderer/src/i18n/locales/fr.json (merge base 4e43dff to head 05930a0). Then confirm: (1) the added leaf keys match the 593 usage, sidebar, source control, editor and plugin keys from en.json; (2) no existing fr.json value changed except trailing commas; (3) the coverage delta of +597 is explained.

Full details: Out of Scope Changes check

Explanation

The PR description says only fr.json changes, with new leaves and comma-only edits to existing lines. The head file is readable, but the diff is unavailable, so no line-level check was possible. The raw summary lists changes across browser, agent, workspace, Git, usage, settings, plugins, automation, editor and chat, and says 'existing entries are also extended with more specific messages and plural forms'. If accurate, that goes beyond the stated 593-key scope and changes existing values. Scope cannot be decided from the available evidence.

Resolution

Provide the whole-PR diff of fr.json (merge base 4e43dff to head 05930a0), or the list of changed leaf keys. Confirm that every added key belongs to the 593-key set in #49845 and that no existing French value was modified.

  • 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: a3800b25-8901-4dd8-b2ae-b71287f00989
Commits

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

Files selected for processing: 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.

… sidebar, source control, editor and plugins

Adds French values for 593 desktop keys that fell back to English
(rate-limit errors, auto-naming, source control status, editor
typography, plugins, automation runs and VM creation), plus the
_many plural forms French needs. Only fr.json changes.

Refs stablyai#49845

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@nwparker
nwparker force-pushed the yohangwak/fr-desktop-i18n-3 branch from 05930a0 to 0a13a5c Compare November 26, 2026 13:55
@nwparker nwparker changed the title fix(i18n): translate 593 missing French desktop strings for usage limits, sidebar, source control, editor and plugin strings fix(i18n): translate missing French desktop strings for usage limits, sidebar, source control, editor and plugins Nov 26, 2026
@nwparker
nwparker merged commit 10340b2 into stablyai:main Nov 26, 2026
55 of 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.

2 participants