Skip to content

fix(i18n): translate 239 missing Russian desktop strings for bots - #49835

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

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

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: bots. This PR adds Russian for 237 of those strings (part 1 of 7). Only the Russian word list changes.

What Changed

  • Before: 237 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 (bots).
  • After: each of those keys has a Russian value plus 2 _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 +325 −12; 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.automations.runViewState.handledInTurn Answered in the bot’s conversation Ответ дан в чате с Bot
bots.access.actsAsYou They act as you on {{computer}}. Они действуют от вашего имени на {{computer}}.
bots.access.yourComputer your computer вашем компьютере
bots.activity.waitsOnBackground Waiting on its background task Ждёт завершения фоновой задачи
bots.apps.addAppsTitle Add apps to {{bot}} Добавить приложения для «{{bot}}»
bots.apps.addedCaption Added Добавлено
bots.apps.addedCount {{count}} added Добавлено: {{count}}
bots.apps.chip.more More Ещё
bots.apps.composio.changeKeyTitle Change your Composio key Изменить ключ Composio
bots.apps.couldNotConnect Couldn’t connect {{app}} Не удалось подключить {{app}}

Why

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

Linked Issue

Part of #49834

This PR covers the bots 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 (231c776) is based on main at 4e43dff:

  • pnpm verify:localization-catalog passes: desktop ru coverage goes from 21,223 to 21,462 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 20 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 1 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

Adds Russian for bot screens stablyai#45740 and stablyai#47391 do not cover: Slack, GitHub and Google setup, new-bot WSL host setup, paired servers, items, sharing and apps.

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 bot activity and setup, GitHub and Slack connections, WSL hosting, app integrations, item workflows, scheduling, and Google account management. The changes add locale text only; application logic and public declarations remain unchanged.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 231c7

This change adds Russian translations for bot-related screens and leaves application logic untouched. Russian-language users should see fewer English fallbacks. No concrete merge risk was identified.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49834 asks for Russian values for 2,272 missing desktop keys. The bots area is 237 of them. This PR adds Russian values to src/renderer/src/i18n/locales/ru.json for the bots area, per the PR de… Provide readable ru.json diff evidence (base to head) or the file blobs so the added keys can be checked against the 237 bots keys in en.json. Confirm whether the 239 versus 237 count difference is explained by 2 extra keys, and name them.
Out of Scope Changes check Inconclusive The only changed file reported is ru.json (+325/-12). The changed-file diff could not be read, so no hunk-level scope check was possible. The AI-generated raw summary lists areas such as WSL hosting, … Provide the ru.json diff (base to head) or the readable blobs so the added keys can be mapped to the bots area. Identify any added key outside the bots area, such as WSL, Google account, or workspace strings, and confirm it is in scope or r…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the change: Russian translations for 239 missing bot-related desktop strings in the i18n catalog. The description and objectives say the PR covers 237 keys, so the count in the title d…
Description check Passed The description follows the template closely. It covers ELI5, What Changed (before and after, mechanism), Why, Linked Issue (Part of #49834, which is an issue reference rather than a Fixes # link), Vi…
Full details: Title check

Explanation

The title names the change: Russian translations for 239 missing bot-related desktop strings in the i18n catalog. The description and objectives say the PR covers 237 keys, so the count in the title does not match. The title is otherwise related to the main change, so the check passes.

Full details: Description check

Explanation

The description follows the template closely. It covers ELI5, What Changed (before and after, mechanism), Why, Linked Issue (Part of #49834, which is an issue reference rather than a Fixes # link), Visual Proof marked N/A with a reason, Testing with the manual-test box left unchecked and automated tests explained, a Performance line, Risk with level Low and a revert path, AI Disclosure, the upstream boundary box, and most checklist items. The main gaps are that the linked issue is a partial reference ("Part of") rather than a closing link, and the lint, typecheck, test, and build checklist item is unchecked. The author explains both gaps. The description is substantive and specific, so it passes.

Full details: Linked Issues check

Explanation

Issue #49834 asks for Russian values for 2,272 missing desktop keys. The bots area is 237 of them. This PR adds Russian values to src/renderer/src/i18n/locales/ru.json for the bots area, per the PR description. The coding requirement is therefore the 237 bots keys in en.json that lack a ru.json entry. The ru.json text diff against the merge base (4e43dff) could not be read: the changed blobs are missing from the checkout. Key-by-key coverage cannot be confirmed. The PR description reports 237 keys. The commit subject (fix(i18n): translate 239 missing Russian desktop strings for bots) and the PR's own coverage delta (21,223 to 21,462, a difference of 239) differ from 237. The author's claims about the verifier and check runs cannot be checked from the repository. The issue's other six areas are assigned to other PRs and are out of scope for this PR.

Resolution

Provide readable ru.json diff evidence (base to head) or the file blobs so the added keys can be checked against the 237 bots keys in en.json. Confirm whether the 239 versus 237 count difference is explained by 2 extra keys, and name them.

Full details: Out of Scope Changes check

Explanation

The only changed file reported is ru.json (+325/-12). The changed-file diff could not be read, so no hunk-level scope check was possible. The AI-generated raw summary lists areas such as WSL hosting, GitHub and Slack connections, Google accounts, and item workflows. These may belong to other issue areas (WSL, SSH and VM hosts; agents, accounts and onboarding; workspaces) rather than bots. The summary is not source evidence, so this is unverified. The commit subject also reports 239 keys, two more than the 237 bots keys, which may include non-bots keys. The ru.json-only change set itself does not show an out-of-scope file.

Resolution

Provide the ru.json diff (base to head) or the readable blobs so the added keys can be mapped to the bots area. Identify any added key outside the bots area, such as WSL, Google account, or workspace strings, and confirm it is in scope or remove it.

  • 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: e0507d38-d1a0-49dd-a8dc-1beaf52e708b
Commits

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

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; 3 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