Skip to content

fix(i18n): translate 444 missing Spanish desktop strings for usage limits, sidebar, automations and editor - #49885

Merged
AmoabaKelvin merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/es-desktop-i18n-4
Nov 26, 2026
Merged

AmoabaKelvin merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/es-desktop-i18n-4

Conversation

@yohangwak

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Spanish, parts of the desktop app still show English: usage limits, sidebar, automations and editor. This PR adds Spanish for 444 of those strings (part 4 of 5). Only the Spanish word list changes.

What Changed

  • Before: 444 keys in en.json had no entry in src/renderer/src/i18n/locales/es.json and no open maintainer PR covers them, so i18next fell back to English inside otherwise Spanish screens (usage limits, sidebar, automations and editor).
  • After: each of those keys has a Spanish value plus 4 _many plural forms, which Spanish needs and which copy _other as the existing catalog does. Values use tú as the existing es.json does (Haz clic 52 vs Haga clic 9), its established terms (espacio de trabajo, worktree, Ajustes, equipo, Agregar, Quitar, interfaz de chat, Cambios sin confirmar), and keep product names and "Bot" in English. Spanish _many plural forms copy _other, as the existing catalog does.
  • Mechanism: new leaves in src/renderer/src/i18n/locales/es.json, each placed after its nearest en.json sibling that already exists in the file (diff +605 −29; 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) Spanish (after)
auto.components.GitHubItemDialog.refreshTask Refresh task Actualizar tarea
auto.components.NewWorkspaceComposerFooter.create Create Crear
auto.components.RunTargetCombobox.noWslDistros No WSL distros found No se encontraron distribuciones WSL
auto.components.TaskPage.gitlabLoadFailed Could not load GitLab work items. Refresh to try again. No se pudieron cargar los elementos de trabajo de GitLab. Actualiza para volver a intentarlo.
auto.components.Terminal.93c2e9d845 There is running work in chats or terminals. Close the window anyway? Hay trabajo en ejecución en chats o terminales. ¿Cerrar la ventana de todos modos?
auto.components.automations.AutomationDetail.active Active Activa
auto.components.browser.pane.BrowserExtensionSidePanelDock.close Close side panel Cerrar panel lateral
auto.components.browserPane.externalApp.alwaysAllow Always allow {{site}} to open {{scheme}} links Permitir siempre que {{site}} abra enlaces {{scheme}}
auto.components.cmd.j.quick.actions.newBrowserTabSplitRight New Browser Tab in Right Split Nueva pestaña del navegador en división derecha
auto.components.editor.BinaryFileDefaultAppButton.downloadFailed Failed to download '{{value0}}'. No se pudo descargar '{{value0}}'.

Why

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

Linked Issue

Fixes #49873

This PR covers the usage limits, sidebar, automations and editor part of the issue; the other 4 Spanish 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 Español.

Testing

  • I manually tested these changes locally — not ticked: the values were checked by the catalog verifier, but 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 (18af2e3) is based on main at 4e43dff:

  • pnpm verify:localization-catalog passes: desktop es coverage goes from 20,436 to 20,880 of 25,069 keys translated. It fails with an interpolation mismatch when a {{placeholder}} in an es 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).
  • config/scripts/locale-catalog/repair-locale-catalog.mjs --locale es changes none of the new values (it also changes existing values on main, which this PR leaves alone).

Performance

None, because only the Spanish desktop catalog grows (about 37 KB). It is loaded only when Spanish is selected; there is no new code path, I/O, polling or subprocess work.

Risk

Level: Low

The worst case is a Spanish 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 Spanish value from the English source and the screen each string appears on, reusing the terms already in the desktop es.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 or component change. 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 4 of 5 for Spanish; 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

…mits, sidebar, automations and editor

Rate-limit errors, sidebar auto-naming and projects, automation runs, source control statuses, editor, plugins, status bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The Spanish locale file adds and updates strings for settings, workspaces, terminals, source control, usage, plugins, automation, and other interface areas. It also replaces plural-specific partial-attachment strings with a general message.

Severity of issue fixed: Medium

Merge Risk: Low · up to 18af2

This change adds Spanish text for many interface strings. One empty-state message in the project selector is still in English, so Spanish users will see mixed-language text there. The risk is low and easy to fix before or after merge.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49873 requires Spanish values for 444 keys in the usage limits, sidebar, automations, and editor area. The PR description lists 10 sample keys and states that 444 keys were added to src/rendere… Provide readable diff evidence for src/renderer/src/i18n/locales/es.json, with the blobs for the merge base and reviewed head available. Confirm that the 444 listed keys have added Spanish values. Confirm whether any existing es.json values…
Out of Scope Changes check Inconclusive The PR should change only the Spanish catalog for the 444 keys in the usage limits, sidebar, automations, and editor area. The PR description says no code, English string, or other locale changes occu… Provide readable es.json diff evidence against the merge base. Confirm that every added or changed key belongs to the 444 keys of the usage limits, sidebar, automations, and editor area. Confirm whether any existing values or plural entries…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the main change: it adds Spanish translations for 444 desktop strings in the usage limits, sidebar, automations and editor areas. It follows the conventional commit style and matches t…
Description check Passed The description follows the repository template. It includes ELI5, What Changed, Why, Linked Issue (Fixes #49873), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosure,…
Full details: Title check

Explanation

The title names the main change: it adds Spanish translations for 444 desktop strings in the usage limits, sidebar, automations and editor areas. It follows the conventional commit style and matches the single changed file, es.json, and the linked issue's scope.

Full details: Description check

Explanation

The description follows the repository template. It includes ELI5, What Changed, Why, Linked Issue (Fixes #49873), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosure, Review, upstream boundary, Notes and Checklist. Its content is specific and matches the diff. Minor gaps: the Why section is one thin sentence, the Testing manual-test box is unchecked with an explanation, and the lint/typecheck/test/build checklist item is not run locally, which the author discloses.

Full details: Linked Issues check

Explanation

Issue #49873 requires Spanish values for 444 keys in the usage limits, sidebar, automations, and editor area. The PR description lists 10 sample keys and states that 444 keys were added to src/renderer/src/i18n/locales/es.json. The diff for es.json could not be read, because the changed blobs are missing from the checkout. The head file read was truncated at 16000 bytes, so the 444 added keys and their values could not be confirmed. The supplied change summary also says existing es.json strings are revised or removed, including plural-form entries replaced by a general string. This conflicts with the PR description, which says no existing value changes and every removed line only gains a trailing comma. The conflict is not resolved. Automated tests are not required, because the issue asks for catalog text. Non-coding tasks are excluded.

Resolution

Provide readable diff evidence for src/renderer/src/i18n/locales/es.json, with the blobs for the merge base and reviewed head available. Confirm that the 444 listed keys have added Spanish values. Confirm whether any existing es.json values or plural entries were removed or changed, and if so, why.

Full details: Out of Scope Changes check

Explanation

The PR should change only the Spanish catalog for the 444 keys in the usage limits, sidebar, automations, and editor area. The PR description says no code, English string, or other locale changes occur. The supplied change summary, however, describes Spanish changes across settings, workspace and terminal workflows, plugins, GitHub checks, and other areas, and says existing strings were revised or removed. Some listed keys, such as browserPane and cmd.j quick actions, may fall outside the stated area. The diff could not be read, so I cannot determine whether these changes are out of scope.

Resolution

Provide readable es.json diff evidence against the merge base. Confirm that every added or changed key belongs to the 444 keys of the usage limits, sidebar, automations, and editor area. Confirm whether any existing values or plural entries were removed or revised outside that set, and explain each one.

  • 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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

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: 2f08af7d-e7b6-4cd7-95e4-e70cf03c8f2a
Commits

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

Files selected for processing: 1

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

"browse": "Browse projects",
"listLabel": "Projects",
"noProjects": "No projects yet."
"noProjects": "No projects yet.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Translate the project empty state.

When the project combobox has no projects, Spanish users still see “No projects yet.” Translate this value to meet the catalog coverage objective.

@AmoabaKelvin
AmoabaKelvin merged commit d17bb2a into stablyai:main Nov 26, 2026
54 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]: With the desktop app set to Spanish, 2,229 strings in settings, bots and workspaces show in English

2 participants