Skip to content

i18n(ru): complete Russian translations and de-hardcode UI strings - #3520

Open
solomoy wants to merge 7 commits into
different-ai:devfrom
solomoy:i18n/ru-translation-complete
Open

i18n(ru): complete Russian translations and de-hardcode UI strings#3520
solomoy wants to merge 7 commits into
different-ai:devfrom
solomoy:i18n/ru-translation-complete

Conversation

@solomoy

@solomoy solomoy commented Aug 4, 2026

Copy link
Copy Markdown

Summary

Complete the Russian (ru) UI translations and make every screen translatable.

  • ru.ts: 1937 keys total (0 missing, 0 duplicates; includes Russian-only plural forms _few/_many), 38 existing translations fixed (natural phrasing, placeholders verified against en.ts).
  • en.ts: 45 new keys added for strings that were hardcoded in components.
  • Components: welcome-page.tsx (manual folder path), provider-selection-step.tsx (model selection), attribution-step.tsx (attribution survey) and session-empty-hero.tsx (empty session screen) now use t() instead of hardcoded English.

Why

The Russian locale was missing ~32% of the UI strings; several screens also had hardcoded English strings that the i18n system could not translate.

Issue
Scope

apps/app/src/i18n/locales/en.ts
apps/app/src/i18n/locales/ru.ts
apps/app/src/react-app/domains/onboarding/welcome-page.tsx
apps/app/src/react-app/domains/onboarding/provider-selection-step.tsx
apps/app/src/react-app/domains/onboarding/attribution-step.tsx
apps/app/src/react-app/domains/session/chat/session-empty-hero.tsx

Validation

pnpm install --no-frozen-lockfile (pnpm 11.4.0, Node 24): success
Both locale files pass TypeScript parse diagnostics (0 errors, repo typescript 5.9.3)
Placeholder/plural checks: all {vars} in new ru.ts values match en.ts
Typecheck: pnpm --filter @openwork/app typecheck passes (tsc --noEmit, 0 errors)
Dev app runs from source (Vite 6.4.3): clean compile, HMR applied; empty session hero verified in ru via screenshot
No @openwork/testkit spec run: this is a locale/data change; validation above is static + manual

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@solomoy is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, v0 Aug 5, 2026 6:48pm

solomoy added 3 commits August 4, 2026 22:14
Add 590 missing keys to the Russian locale (connect, settings,
extensions, memory, session management, models, notifications,
onboarding and more) and translate 38 strings that still showed
English values. Adds Russian plural forms (_few/_many) for all
count-based keys.

Missing keys now: 0 (was 590).
@solomoy

solomoy commented Aug 5, 2026

Copy link
Copy Markdown
Author

Updated scope (pushed b29bd03 + e5894d5):

This PR now also localizes the settings screens, session/search surfaces, and the extensions library:

  • Settings: AI providers, updates, general, permissions, plugins, marketplace, cloud account & organization picker
  • Session: find-in-conversation bar (Cmd+Shift+F), model picker, status menu, composer, architecture-mismatch gate
  • Extensions library: detail modal (details grid, release stage, OAuth, manifest resources/contributions, "What this enables", UI-control discovery table), cards and badges, plus extension configs — OpenWork Browser, Computer Use, Ollama (with proper ru plural forms for model counts), Voice Mode, image generation, AppImage desktop integration
  • Terminology: "New task" → "New session" (Новый сеанс), "preview" → «предварительная версия»

Validation: tsc --noEmit clean; locale audit en 2180 / ru 2236 keys, 0 missing, 0 duplicates; manually verified in the dev app (ru).

@solomoy solomoy changed the title i18n(ru): complete Russian translations i18n(ru): complete Russian translations and de-hardcode UI strings Aug 5, 2026
@solomoy
solomoy force-pushed the i18n/ru-translation-complete branch from 03ef887 to e5894d5 Compare August 5, 2026 18:50
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