Skip to content

fix(i18n): translate 452 missing Russian desktop strings for agents, accounts, onboarding and usage - #49840

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

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

Conversation

@yohangwak

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Russian, parts of the desktop app still show English: agents, accounts, onboarding and usage. This PR adds Russian for 438 of those strings (part 5 of 7). Only the Russian word list changes.

What Changed

  • Before: 438 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 (agents, accounts, onboarding and usage).
  • After: each of those keys has a Russian value plus 14 _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 +517 −11; 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)
accounts.antigravity.addAccount Add account Добавить учётную запись
accounts.antigravity.addAccountHelp To add an account, run /logout in agy, sign in again, then Save it here. Чтобы добавить учётную запись, выполните /logout в agy, войдите снова, а затем сохраните её здесь.
accounts.antigravity.addAccountInApp Sign in to another Google account. Both stay saved here to switch between. Войдите в другую учётную запись Google. Обе останутся сохранёнными здесь, чтобы между ними можно было переключаться.
accounts.antigravity.agentPlatformOption Your gcloud login (ADC) Ваш вход в gcloud (ADC)
accounts.antigravity.apiKey Gemini API key API-ключ Gemini
accounts.antigravity.apiKeyFromEnvironment Using GEMINI_API_KEY from your environment. Paste a key to use a different one. Используется GEMINI_API_KEY из вашего окружения. Вставьте ключ, чтобы использовать другой.
accounts.antigravity.apiKeyLabel Gemini API key API-ключ Gemini
accounts.antigravity.apiKeyOption A key from Google AI Studio Ключ из Google AI Studio
accounts.antigravity.apiKeyPlaceholder Paste your API key Вставьте API-ключ
accounts.antigravity.apiKeyRemove Remove Удалить

Why

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

Linked Issue

Fixes #49834

This PR covers the agents, accounts, onboarding and usage 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 (253f137) is based on main at 4e43dff:

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

…accounts, onboarding and usage

Adds Russian for agent accounts, agent CLI updates, the agent picker, usage and rate-limit messages, onboarding, auto-naming and orchestration.

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 and updates translations for onboarding, accounts, provider configuration, workspace and chat features, and agent workflows. The changes are limited to localization strings and do not change application logic.

Severity of issue fixed: Low

Merge Risk: Minimal · up to 253f1

This PR adds Russian translations for agents, accounts, onboarding and usage in place of the English fallback text. It changes no application logic, and no merge-blocking risk was found.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Directly linked issue #49834 requires Russian values for the 438 agents, accounts, onboarding and usage keys in en.json that lack entries in ru.json. The PR description states that these keys now have… Make the ru.json diff for the reviewed head available. Then confirm that each of the 438 agents, accounts, onboarding and usage keys from en.json has a non-empty Russian value and the required _few and _many plural forms. Confirm that no ex…
Out of Scope Changes check Inconclusive The PR description limits the change to the agents, accounts, onboarding and usage keys. The AI-generated raw summary, however, describes ru.json changes that also cover browser and cookie workflows, … Provide the ru.json diff for the reviewed head, or the list of added and changed keys. Confirm that every added key belongs to the agents, accounts, onboarding or usage area. Confirm that no existing value was revised. Remove any key or rev…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the main change: adding Russian translations for 452 missing desktop strings in the agents, accounts, onboarding and usage areas. The changeset adds Russian locale entries to ru.json o…
Description check Passed The description follows the repository template closely. It has ELI5, What Changed, Why, Linked Issue (Fixes #49834), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosu…
Full details: Title check

Explanation

The title names the main change: adding Russian translations for 452 missing desktop strings in the agents, accounts, onboarding and usage areas. The changeset adds Russian locale entries to ru.json only, which matches the title's scope. The title says 452 strings, while the description and objectives say 438 keys plus 14 plural forms, which is the same total. The title is slightly long at 99 characters but is still clear.

Full details: Description check

Explanation

The description follows the repository template closely. It has ELI5, What Changed, Why, Linked Issue (Fixes #49834), Visual Proof (N/A with reason), Testing, Performance, Risk with level, AI Disclosure, Review, Agent skill upstream boundary, Notes and Checklist. The Why section is thin, since it gives one sentence and does not compare alternatives. The Testing section leaves the manual test box unticked and explains why, which is acceptable. The Performance and Risk sections are complete.

Full details: Linked Issues check

Explanation

Directly linked issue #49834 requires Russian values for the 438 agents, accounts, onboarding and usage keys in en.json that lack entries in ru.json. The PR description states that these keys now have values and that no existing value changed (+517/-11, removed lines only gain a trailing comma). The text diff of src/renderer/src/i18n/locales/ru.json could not be read: the changed blobs are missing from the checkout. The file list confirms the repository is present, but the key-level diff is unavailable. Coverage of the 438 keys, placeholder and tag preservation, and the absence of changed existing values therefore cannot be verified from source. The PR description's own verifier results (coverage 21,223 to 21,675) are author-reported, not independently confirmed. No other coding requirement is raised by #49834 for this PR, because the other areas are assigned to other PRs.

Resolution

Make the ru.json diff for the reviewed head available. Then confirm that each of the 438 agents, accounts, onboarding and usage keys from en.json has a non-empty Russian value and the required _few and _many plural forms. Confirm that no existing ru.json value or key was modified. Also confirm that the placeholder and tag sets match the English source for each new value.

Full details: Out of Scope Changes check

Explanation

The PR description limits the change to the agents, accounts, onboarding and usage keys. The AI-generated raw summary, however, describes ru.json changes that also cover browser and cookie workflows, WSL and remote-server handling, Git and workspace operations, automation, editor features, and revised existing text (permission choices, Codex reset confirmation, workspace naming, chat-interface setup). Issue #49834 assigns those areas to other PRs. The raw summary conflicts with the PR description, which states that no existing value changes. The changed blobs are unavailable, so the key-level diff cannot be checked. The conflict is unresolved, and no demonstrated unrelated change can be shown.

Resolution

Provide the ru.json diff for the reviewed head, or the list of added and changed keys. Confirm that every added key belongs to the agents, accounts, onboarding or usage area. Confirm that no existing value was revised. Remove any key or revision that belongs to another area, or explain how it supports this PR's scope.

  • 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: a6aedd99-8595-41f2-a3d3-370dff75a3e9
Commits

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

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; 0 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.

[Bug]: With the desktop app set to Russian, 2,272 strings in settings, bots and workspaces show in English

1 participant