Skip to content

fix(i18n): translate missing Russian native-chat strings for automations, imports, and goals - #48172

Merged
nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-native-chat-a
Nov 24, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-native-chat-a

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Russian, the chat rows for automations, bot imports and goals still showed English text in the middle of a Russian screen. This adds the missing Russian text for those rows.

What Changed

  • Before: in the Russian UI, the import plan card, the automation run row and its details, the saved-automation row, automation results, event rows and the goal check line showed English (Comes over, Import 2 items, Wait over, Instructions, Event, Open on GitHub, Created automation, ...). About 148 keys under components.native-chat (automationRun, automationSaved, automationResult, eventRow, importPlan, importDone, goal, goalControl) had no entry in ru.json, so i18next fell back to English.
  • After: those rows read in Russian (Будет перенесено, Импортировать (2), Ожидание закончилось, Инструкции, Событие, Открыть на GitHub, Автоматизация создана, ...).
  • Mechanism: only src/renderer/src/i18n/locales/ru.json changes. New leaves are inserted next to their en.json siblings; goal.checks gets _one/_few/_many/_other plural forms. Review follow-ups folded into the same commit: placeholder sentences reworded so an uninflected {{name}} reads naturally, the import button uses a count label (Импортировать ({{count}})), due/dueRan read as scheduled time (По плану), the GitHub event labels agree in gender with the pull request they describe (Пул-реквест открыт, Слит, Закрыт, Готов к проверке), workflow_finished is fully translated, the paused automation status matches its row (Приостановлена), and the missing gettingUrl key is added.

Why

These rows show up in every Russian chat that runs an automation or imports a bot from another app. Filling the catalog is the only fix; no code needs to change. This continues the per-area locale series (#47920, #48093, #48096, #48098, #48100), keeping each area small enough to review.

Linked Issue

Fixes #48173

Visual Proof

Native chat fixtures rendered in the Russian UI by @yohangwak in #48172, main (top) vs the branch (bottom). These were captured before the review wording tweaks listed above, so a few labels now read slightly differently (for example the import button is Импортировать (2) rather than Импортировать элементы: 2). Text that stays English is fixture data or strings outside this batch.

Light Dark
Import plan card Import plan card light Import plan card dark
Automation run, opened Automation run, opened light Automation run, opened dark
Chat event rows (first row) Chat event rows (first row) light Chat event rows (first row) dark

Testing

  • I manually tested these changes locally (fixture renders above; catalog checks below)
  • Automated tests added/updated, or explained why not below: catalog values only, covered by the localization catalog verifiers, which check that every value keeps its English {{placeholder}} and <tag> set
  • Every added test fails without this change and avoids the test anti-patterns (no tests added)

On macOS, rebased onto current main (28dfb5d):

  • ru.json parses; pnpm verify:localization-catalog and pnpm verify:localization-catalogs pass (ru: 19,761/24,813 translated).
  • oxfmt --check, the anti-slop and code-quality oxlint configs, ast-grep scan, and the changed-code quality gate are clean (JSON only, no JS/TS changed).
  • Text-only change, so it is platform independent (macOS/Linux/Windows/SSH).

Performance

None, because only the Russian renderer catalog grows (+~7.6 KB, 1,464,443 -> 1,472,034 chars), parsed once when the Russian locale loads. JSON.parse of the file measured 3.27 ms before vs 2.94 ms after (30-run average, within noise). No runtime path, polling, I/O or render work changes.

Risk

Level: Low

Only Russian strings are added or reworded. If a word is off, Russian users see that word instead of English. A plain revert backs it out. The open #46107 (missing Russian desktop strings) overlaps on many of these keys and will need to keep or drop its values when it resolves the conflict.

Review

  • Cross-platform: text only.
  • SSH/remote: not affected; remotes do not read renderer catalogs.
  • Mobile: not touched; the phone app has its own catalog.
  • Security: nothing changes.

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

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Original fix by @yohangwak in #48172 (authorship preserved; squashed with review wording tweaks).

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): targeted catalog and static gates run locally; full runs left to CI since only a locale JSON file changes

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Russian locale adds labels for goal checks, automation results and runs, event rows, and import plans and outcomes.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 36866

This adds Russian translations for automation, import, event, and goal UI text and does not change behavior or logic. No merge-blocking risk is evident; CI still needs to run the full lint, typecheck, test, and build checks.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed [#48173] asks for Russian values for the missing components.native-chat keys in ru.json for importPlan, importDone, automationRun, automationSaved, automationResult, eventRow, goal and goalControl. Th…
Out of Scope Changes check Passed The whole-PR diff against the merge base touches only src/renderer/src/i18n/locales/ru.json. Every added key lies under components.native-chat in the sections named by #48173. No other locale, code pa…
Title check Passed The title names the main change: adding missing Russian translations for native-chat strings covering automations, imports, and goals. It follows the conventional-commit style and matches the ru.json …
Description check Passed The description follows the repository template. It has the ELI5, What Changed, Why, Linked Issue (Fixes #48173), Visual Proof with before/after images, Testing, Performance, Risk (Level: Low), Review…
Full details: Linked Issues check

Explanation

[#48173] asks for Russian values for the missing components.native-chat keys in ru.json for importPlan, importDone, automationRun, automationSaved, automationResult, eventRow, goal and goalControl. The reviewed head diff of src/renderer/src/i18n/locales/ru.json adds values for each listed string: goal.checks plural forms and goal.last-check; goalControl.noGoal; automationResult (sentWithOne, sentWithMany and others); importPlan (comes, changed, already, stays, from, importOne, importMany); importDone (heading, paused and others); automationRun (waitOver, scheduled, instructions, event, openOnGitHub, copyInstructions, the what.* event labels and others); eventRow (showMore, running, failed); and automationSaved (recentRuns, noRuns, runNow, deleted and others). The added keys sit in the listed sections only. Existing Russian values are unchanged. I did not count the 148 keys against en.json, so the exact count rests on the PR description and the localization verifier it cites. No coding requirement beyond the catalog values is stated in the issue.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff against the merge base touches only src/renderer/src/i18n/locales/ru.json. Every added key lies under components.native-chat in the sections named by #48173. No other locale, code path, or existing Russian value changes. The diff does not add keys for workers, connections, sign-in, messages, approvals, or the bot screens that #45740 covers, so no out-of-scope change is shown.

Full details: Title check

Explanation

The title names the main change: adding missing Russian translations for native-chat strings covering automations, imports, and goals. It follows the conventional-commit style and matches the ru.json change in the raw summary. It is 92 characters, slightly long, but still specific and readable.

Full details: Description check

Explanation

The description follows the repository template. It has the ELI5, What Changed, Why, Linked Issue (Fixes #48173), Visual Proof with before/after images, Testing, Performance, Risk (Level: Low), Review, Agent skill boundary, Notes, and Checklist sections. The Performance section is filled in with a complete sentence. The AI Disclosure section is absent, but the template marks it as optional for stablyai team members. The Visual Proof section lists three renders with light and dark variants, and it notes that the text was captured before later wording tweaks.

  • 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: ca541615-c280-4c8f-9b17-f300fda43a1e
Commits

Reviewing files that changed from the base of the PR and between 7e1635c and 36866c9.

Files selected for processing: 1

  • src/renderer/src/i18n/locales/ru.json
Files skipped from review as they are similar to previous changes: 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; 7 remain after this review.

…ons, imports, and goals

Adds Russian values for the components.native-chat keys under
automationRun, automationSaved, automationResult, eventRow, importPlan,
importDone, goal and goalControl that fell back to English in ru.json.
goal.checks gets the _one/_few/_many/_other plural forms.

Fixes stablyai#48173

Co-authored-by: Neil <[email protected]>
@nwparker
nwparker force-pushed the yohangwak/ru-native-chat-a branch from 7e1635c to 36866c9 Compare November 24, 2026 09:47
@nwparker nwparker changed the title fix(i18n): translate 148 missing Russian native-chat strings for automations, imports, and goals fix(i18n): translate missing Russian native-chat strings for automations, imports, and goals Nov 24, 2026
@nwparker
nwparker merged commit 5059395 into stablyai:main Nov 24, 2026
55 of 56 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]: Russian UI: 148 native chat strings for automations, imports, and goals fall back to English

2 participants