Skip to content

fix(i18n): translate 405 missing Russian desktop strings for workspaces, sidebar, editor, terminal and browser - #49844

Open
yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-desktop-i18n-7
Open

yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-desktop-i18n-7

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Russian, parts of the desktop app still show English: workspaces, sidebar, editor, terminal and browser. This PR adds Russian for 397 of those strings (part 7 of 7). Only the Russian word list changes.

What Changed

  • Before: 397 keys in en.json had no entry in src/renderer/src/i18n/locales/ru.json and no open maintainer PR covers them, so i18next fell back to English inside otherwise Russian screens (workspaces, sidebar, editor, terminal and browser).
  • After: each of those keys has a Russian value plus 8 _few/_many plural forms, which Russian needs beyond English and which are built from the English _other. Values use вы, as the existing ru.json does (406 values with вы forms vs 0 with ты on main), «» quotes, … and ё, and its established terms (рабочее пространство, рабочее дерево, сервер for host, пул-реквест, Интерфейс чата). "Bot" stays in Latin script, as the project keeps product names untranslated; sentences are worded so the Latin word needs no case ending. Where a Russian case ending would break on an inserted name, the name is a quoted label («{{host}}»).
  • Mechanism: new leaves in src/renderer/src/i18n/locales/ru.json, each placed after its nearest en.json sibling that already exists in the file (diff +561 −34; 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) Russian (after)
auto.components.GitHubItemDialog.refreshTask Refresh task Обновить задачу
auto.components.NewWorkspaceComposerFooter.create Create Создать
auto.components.TaskPage.gitlabLoadFailed Could not load GitLab work items. Refresh to try again. Не удалось загрузить задачи GitLab. Обновите страницу, чтобы повторить попытку.
auto.components.Terminal.93c2e9d845 There is running work in chats or terminals. Close the window anyway? В чатах или терминалах выполняется работа. Всё равно закрыть окно?
auto.components.activity.ActivityThreadContextMenu.clearMany Clear {{count}} Agents from List Убрать агентов из списка ({{count}})
auto.components.automations.AutomationDetail.active Active Активна
auto.components.browser.pane.BrowserExtensionSidePanelDock.close Close side panel Закрыть боковую панель
auto.components.browserPane.externalApp.alwaysAllow Always allow {{site}} to open {{scheme}} links Всегда разрешать {{site}} открывать ссылки {{scheme}}
auto.components.editor.BinaryFileDefaultAppButton.downloadFailed Failed to download '{{value0}}'. Не удалось скачать «{{value0}}».
auto.components.feature.tips.feature.tip.copy.0080bc86eb Install CLI & Skills Установить CLI и навыки

Why

These strings sit in screens that are otherwise Russian, so each English line stands out. workspace.links.peek.running is shown for every pending check (queued, awaiting approval, in progress — provider-check-summary.ts), so it uses the word the same workspace card already uses for pending checks rather than a literal "running".

Linked Issue

Part of #49834

This PR covers the workspaces, sidebar, editor, terminal and browser part of the issue; the other 6 Russian 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 Русский.

Testing

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

  • pnpm verify:localization-catalog passes: desktop ru coverage goes from 21,223 to 21,628 entries (English has 25,069 keys). It fails with an interpolation mismatch when one {{placeholder}} in a new 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).

Performance

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

Risk

Level: Low

The worst case is a Russian 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 Russian value from the English source and the screen each string appears on, reusing the terms already in the desktop ru.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 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 open maintainer PRs already translate (#45740 bot screens, #47391 bot templates and skills, #39759, #36758) are left out so the PRs don't write the same lines. #46107 also proposes values for many of these keys as a single full-catalog PR; this series is split by area so each part can be reviewed and merged on its own. This is PR 7 of 7 for Russian; 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

…es, sidebar, editor, terminal and browser

Adds Russian for the sidebar and workspace cards, source control, editor, terminal panes, browser, agent notes, automation runs and the remaining workspace screens.

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

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Russian locale adds translations for interface labels, accessibility text, status messages, errors, and controls across workspace, browser, editor, Git, automation, and resource-management features. It also adds plural forms and updates existing translation groups. The changes are limited to the locale file; no application logic or public declarations changed.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to b0603

This change adds Russian translations for strings that previously fell back to English. It changes no application logic, so merge risk is minimal.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49834 is a direct link. Its coding requirement is Russian values for the missing en.json keys, so the Russian screens do not show English. This PR claims to add Russian values for 397 keys in t… Provide readable evidence that the 397 keys listed for this area exist in ru.json at head with non-empty Russian values. Either a base-to-head diff of ru.json or a key-level comparison against en.json for that area is sufficient. Confirm th…
Out of Scope Changes check Inconclusive The PR description and the AI-generated raw summary both state that only src/renderer/src/i18n/locales/ru.json changes, with +561/-34 lines. The description says no code, existing English value, or ot… Provide the base-to-head diff of ru.json, or a list of added keys, to confirm that every added key belongs to the workspaces, sidebar, editor, terminal or browser area. Confirm that no existing ru.json value changed except for trailing comm…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the main change: adding Russian translations for missing desktop strings in workspaces, sidebar, editor, terminal and browser. The diff only adds catalog entries to ru.json, which matc…
Description check Passed The description is thorough and covers nearly every template section. It has an ELI5, a before/after What Changed section with a mechanism explanation, a Why section, a Linked Issue (Part of #49834), …
Full details: Title check

Explanation

The title names the main change: adding Russian translations for missing desktop strings in workspaces, sidebar, editor, terminal and browser. The diff only adds catalog entries to ru.json, which matches. It uses the fix(i18n) prefix and is long, at 110 characters, but it is specific and related to the changeset.

Full details: Description check

Explanation

The description is thorough and covers nearly every template section. It has an ELI5, a before/after What Changed section with a mechanism explanation, a Why section, a Linked Issue (Part of #49834), and a Visual Proof marked N/A with a reason. The Testing section lists the checks run and states that manual testing was not done. The Performance section gives a one-line reason. The Risk section has a level (Low) and a rollback method. The AI Disclosure, Review, Agent skill boundary, Notes, and Checklist sections are filled in. The template's Linked Issue rule asks outside contributors to use 'Fixes #' with an actual issue. This PR uses 'Part of #49834' instead, so it does not strictly meet that rule. The description does not reference the template's 'Fixes #' format. The Lint, typecheck, test, and build checklist item is unchecked, and the author explains why. These gaps are minor.

Full details: Linked Issues check

Explanation

Issue #49834 is a direct link. Its coding requirement is Russian values for the missing en.json keys, so the Russian screens do not show English. This PR claims to add Russian values for 397 keys in the workspaces, sidebar, editor, terminal and browser area, plus 8 plural forms per key where needed. The PR description lists 9 example keys with Russian values, and the values match the stated conventions. The head read of src/renderer/src/i18n/locales/ru.json shows existing Russian entries but was truncated at 16000 bytes. It does not show the added keys. The base-to-head diff for ru.json was unavailable because the changed blobs are missing from the checkout. The author reports that pnpm verify:localization-catalog passes and that desktop ru coverage rises from 21,223 to 21,628. That report is not independent evidence at this head. Issue #49834 is only partly covered by this PR. The other six PRs cover the remaining keys, as the issue lists them as the implementation. Those keys are not required here.

Resolution

Provide readable evidence that the 397 keys listed for this area exist in ru.json at head with non-empty Russian values. Either a base-to-head diff of ru.json or a key-level comparison against en.json for that area is sufficient. Confirm that no key in this area lacks a Russian value. No code change is requested.

Full details: Out of Scope Changes check

Explanation

The PR description and the AI-generated raw summary both state that only src/renderer/src/i18n/locales/ru.json changes, with +561/-34 lines. The description says no code, existing English value, or other locale changes. The raw summary also says no application logic or public declarations changed. Those additions fit the issue's translation objective. The raw summary describes the additions as covering broader areas, including Git operations, automation, and agent workflows. The PR description limits the key set to workspaces, sidebar, editor, terminal and browser. The diff could not be read, so this difference cannot be resolved. The 'removed lines only gain a trailing comma' claim also cannot be checked. No demonstrated unrelated change exists in the evidence, but the key set is unverified.

Resolution

Provide the base-to-head diff of ru.json, or a list of added keys, to confirm that every added key belongs to the workspaces, sidebar, editor, terminal or browser area. Confirm that no existing ru.json value changed except for trailing commas. No code change is requested unless the key list contains keys from other areas.

  • 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: ce34f906-8949-46b0-8b0d-2866ba8e8cac
Commits

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

Files selected for processing: 1

  • src/renderer/src/i18n/locales/ru.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

This branch has not been deployed

No deployments
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