Skip to content

chore(i18n): refine Spanish locale copy - #7359

Merged
nwparker merged 6 commits into
stablyai:mainfrom
LuisUrrutia:chore/spanish-locale-cleanup
Jul 4, 2026
Merged

nwparker merged 6 commits into
stablyai:mainfrom
LuisUrrutia:chore/spanish-locale-cleanup

Conversation

@LuisUrrutia

@LuisUrrutia LuisUrrutia commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refines the Spanish locale copy across the app. Several Spanish strings were awkward, technically wrong, or hard to understand in context, so this pass rewrites them to read more naturally for Spanish-speaking developers.

It also keeps common developer terms in English where translating them makes the UI worse. Terms like PR, pull request, commit, check, issue, preset, worktree, runtime, prompt, CLI, and skill are already familiar to many developers who work in Spanish. Branch is translated as “rama,” and repo/repository as “repositorio,” because those read more naturally in Spanish UI copy.

Screenshots

No visual layout change. This only changes Spanish UI text.

Testing

  • pnpm lint not run; locale-only copy change
  • pnpm typecheck not run; locale-only copy change
  • pnpm test not run; targeted vitest command was unavailable in this environment
  • pnpm build not run; locale-only copy change
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

Validated manually:

  • Parsed src/renderer/src/i18n/locales/es.json successfully.
  • Checked English and Spanish locale string parity: 10,081 strings each.
  • Checked missing and extra keys: 0.
  • Checked placeholder mismatches: 0.
  • Scanned for accidental/debug text and known bad translation terms.
  • Ran git diff --check on the locale file.

AI Review Report

Reviewer agents checked batches of the Spanish locale against the English source strings and nearby source usage. I applied the reviewed replacements in the parent session, then handled the remaining chunks directly after the subagent limit was reached.

After merging the latest main, I reviewed the newly added Spanish strings against en.json and their source-code usage, then fixed the ones that still had literal English or translated developer terms that read worse in Spanish.

The review focused on placeholder safety, key parity, developer terminology, and avoiding literal translations that were misleading in product context. Cross-platform behavior was considered and no macOS, Linux, Windows, shortcut, path, shell, or Electron-specific behavior is touched by this PR.

Security Audit

This is a locale-only change. It does not change input handling, command execution, auth, secrets, dependencies, IPC, path handling, or runtime behavior. No security follow-up is needed.

Notes

No platform-specific behavior is changed. The main review risk is copy nuance, especially deciding when a developer term should stay in English instead of being translated literally.

Why:
Improve the Spanish UI copy so developer-facing terms stay natural and technically accurate.

Changes:
- Keep core dev terms such as PR, worktree, branch, and runtime consistent.
- Preserve locale key parity and placeholder compatibility with English.
@LuisUrrutia
LuisUrrutia marked this pull request as ready for review July 4, 2026 17:56
@coderabbitai

coderabbitai Bot commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • src/renderer/src/i18n/locales/es.json
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9ac63e89-db2b-4e73-b689-40965ae2c92e

📥 Commits

Reviewing files that changed from the base of the PR and between dc1c1e9 and 07cb0dc.

📒 Files selected for processing (1)
  • src/renderer/src/i18n/locales/es.json

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

LuisUrrutia and others added 3 commits July 4, 2026 19:59
Post-review polish on the Spanish copy pass:
- Restore dropped/altered meaning: 'repo color' (was 'en el repositorio'),
  'uploaded' (was 'sincronizado'), 'is behind {ref}' (was '{ref} atrás',
  which rendered the ref name as a quantity).
- Translate leftover English over prior correct strings: 'Review from'->
  'Revisión de', 'Agents'->'Agentes', 'workspace'->'espacio de trabajo',
  'clone'->'clon', 'Skill de Agent'->'Skill de agente'.
- Grammar/register: 'para commit'->'para hacer commit' (x3), 'desde issue'->
  'desde el issue' (x4), 'Cuando tanto...y'->'Cuando ambos...', unify tú in
  the sidebar-tint description, 'obligatorio'->'obligatorias' (agrees with
  approvals), 'desbloquear'->'descongelar' for 'unfreeze', de-Spanglish the
  local-folder-drop message.

Co-authored-by: Orca <[email protected]>
@nwparker

nwparker commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Reviewed — merging with a small polish commit

Thanks @LuisUrrutia, this is a solid net improvement. It fixes a lot of genuinely broken prior strings (e.g. Huelga→Tachado for Strike, Atrevido→Negrita for Bold, ¡SEÑOR!→MR, Commit fallida→Falló el commit, Claro→Borrar for Clear).

How it was reviewed

  • Structural: valid JSON, exact key parity with en.json (10,081 keys, 0 added/removed), 0 placeholder mismatches, 0 markup mismatches.
  • Fluency: the 3,988 changed strings were split into 14 batches and each compared against the English source + prior translation.
  • Every flagged item was re-verified against the source-code translate() defaults, not en.json — because en.json is stale for some keys.

That last step mattered: several "regressions" were false alarms from a stale en.json, and your translations were actually correct against the live UI. These were left unchanged:

  • Remote Orca Servers and the "advanced default runtime" description — your text matches the source; en.json still shows the old "Active Server".
  • Auto-rename branch & worktree — source really does include "& worktree", so y worktree is correct.
  • Trailing spaces in Fuerza el cierre de and Borrar — correct; they concatenate with a following {sessionId} / {count}.

Polish commit 07cb0dc — 21 strings, all verified defects:

Meaning restored

  • Use {{value0}} repo color had dropped "color" → Usar {{value0}} como color del repositorio
  • Workspace uploaded was sincronizado (=synchronized) → subido
  • Local {{v0}} is behind {{v1}} → {{v1}} atrás renders the ref name as a quantity ("main local está origin/main atrás") → detrás de {{value1}}

Leftover English over a correct prior translation

  • Review from→**Revisión de; Agents→Agentes; workspace→espacio de trabajo; clone→clon; Skill de Agent→Skill de agente**

Grammar / register

  • para commit→**para hacer commit** (×3); desde issue→**desde el issue** (×4)
  • Cuando tanto … y … (invalid pairing) → Cuando ambos …
  • sidebar-tint description unified to tú (mantén / usa)
  • {{value0}} obligatorio→**obligatorias** (agrees with aprobaciones; matches the sibling badge)
  • unfreeze was desbloquear (=unblock) → descongelar
  • de-Spanglished El drop … → No se pueden soltar carpetas locales en runtimes de servidor
  • Apps para Abrir en→**Abrir en aplicaciones**

Optional future follow-ups (non-blocking, stylistic — your call):

  • runtime is rendered as host in ~10 strings (e.g. "remote runtime active"→"host remoto activo"); the rest of the pass keeps runtime in English.
  • ~62 workspace occurrences stay in English vs. 265 rendered espacio de trabajo; daemon is uniformly servicio.

Merging now — thanks again! 🎉

@nwparker
nwparker merged commit d7d7067 into stablyai:main Jul 4, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* chore(i18n): refine Spanish locale copy

Why:
Improve the Spanish UI copy so developer-facing terms stay natural and technically accurate.

Changes:
- Keep core dev terms such as PR, worktree, branch, and runtime consistent.
- Preserve locale key parity and placeholder compatibility with English.

* chore(i18n): localize new Spanish strings

* chore(i18n): use rama for branch in Spanish

* chore(i18n): clarify Spanish repository copy

* fix(i18n): correct Spanish locale defects found in review

Post-review polish on the Spanish copy pass:
- Restore dropped/altered meaning: 'repo color' (was 'en el repositorio'),
  'uploaded' (was 'sincronizado'), 'is behind {ref}' (was '{ref} atrás',
  which rendered the ref name as a quantity).
- Translate leftover English over prior correct strings: 'Review from'->
  'Revisión de', 'Agents'->'Agentes', 'workspace'->'espacio de trabajo',
  'clone'->'clon', 'Skill de Agent'->'Skill de agente'.
- Grammar/register: 'para commit'->'para hacer commit' (x3), 'desde issue'->
  'desde el issue' (x4), 'Cuando tanto...y'->'Cuando ambos...', unify tú in
  the sidebar-tint description, 'obligatorio'->'obligatorias' (agrees with
  approvals), 'desbloquear'->'descongelar' for 'unfreeze', de-Spanglish the
  local-folder-drop message.

Co-authored-by: Orca <[email protected]>

---------

Co-authored-by: Neil <[email protected]>
Co-authored-by: Orca <[email protected]>
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