Repository navigation
Add Russian (ru-ru) localization - #2429
mikaond-jpg wants to merge 1 commit into
Conversation
- Add Strings/ru-ru/Resources.resw with all 4585 keys translated to Russian. Keys that are intentionally deferred/English across the other locales are kept in English to satisfy the all-or-none localization rule. - Add ru-ru to the OPENCLAW_LANGUAGE whitelist and to the supported-locale tests (Automations identical-locale allowlists, key-hint allowlist). - Document Russian in docs/LOCALIZATION.md and the session-context-menu note.
|
🦞👀 ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: needs real behavior proof before merge. What this changesAdds Russian resources and registers Russian with the existing language override and locale validation. Example: Companion selects Russian resources on a Russian Windows installation.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep open: Russian localization is absent from main, and this PR makes a distinct contribution through the documented localization path. Reviewed head: Before merge
Findings
Tests
Agent review detailsHow this fits togetherWindows language selection and the development override select bundled resources, which supply text to native XAML bindings and LocalizationHelper callers. flowchart TD
A[Windows display language] --> C[Resource language selection]
B[Development language override] --> C
C --> D[Bundled locale resources]
D --> E[Native XAML bindings]
D --> F[LocalizationHelper]
E --> G[Companion interface]
F --> G
Technical reviewBest possible solution: Complete Russian support within the existing resource owner, repairing the emphasis values and grammatical test oracle while preserving key and placeholder parity. Do we have a high-confidence way to reproduce the issue? The resource values and existing assertions establish two deterministic contract failures by source inspection; no application or repository test suite was executed. Is this the best way to solve the issue? The existing resource-directory approach is the smallest complete implementation; its integration needs focused corrections rather than a new localization layer. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4c53470cee20. Provenance checked
TestingProof path: none. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed December 1, 2026, 7:11 AM ET / 12:11 UTC. |
Summary
Adds Russian (
ru-ru) localization to OpenClaw Companion (the native Windows app).src/OpenClaw.Tray.WinUI/Strings/ru-ru/Resources.reswwith all 4,585 keys.ru-ruto theOPENCLAW_LANGUAGEwhitelist (App.xaml.cs) and to the supported-locale tests (locale list, Automations identical-locale allowlists, back-to-app key-hint allowlist).docs/LOCALIZATION.mdand the session-context-menu note.Validation
en-us: 4,585 / 4,585, same order.{0}–{3}preserved: 0 mismatches.\ncounts preserved.Esc,Webhook POST) plus the pre-existing deferred set stay identical to English; the corresponding allowlists were updated.Notes
This is a first Russian translation, machine-assisted with structure/placeholder checks verified. A native-speaker review is recommended before merge. Brand and technical tokens (OpenClaw, Gateway, MCP, WSL, Ollama, etc.) were kept where appropriate.