[GH-ISSUE #3479] [GUI] 48 UI strings never reach the locale files - /plan, /research and /new stay English in every language #1422

Closed
opened 2026-11-04 01:51:09 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Astemiir on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3479

What happens

In the Russian UI the command palette shows three hints in English while the rest are translated:

/plan      Have the assistant write a plan first; nothing runs until you approve it
/research  Search the web, read the pages and answer with sources
/new       Start a new conversation; keep this one

Why

It is not a translation gap. These strings are missing from en.json itself, so no language can translate them:

  • apps/host/src/locales/en.json — 3348 keys, ru.json — the same 3348, 0 keys missing;
  • a search for any of the three strings in en.json returns nothing;
  • the strings live in code as literals that never went through the string extraction: apps/host/src/screens/Chat.tsx:456 (/plan), Chat.tsx:457 (/research), apps/host/src/lib/commands.ts:42 (/new).

The same gap covers 48 strings in total, mostly in the newer screens:

  • components/NativeTune.tsx — "Tune this model", "How long to spend", "What you mostly do", "Saved tunings";
  • components/TuneRunView.tsx — "Took", "Changed", "Variation", "Nothing was changed";
  • components/TelemetryPopover.tsx — "Thinking time", "Writing time", "tokens/s", "% of context";
  • components/GoalBar.tsx, components/TimeSkipPanel.tsx, components/PlanCard.tsx;
  • components/DropZone.tsx, components/TaskBoard.tsx, screens/Tasks.tsx, app/TaskTree.tsx;
  • screens/Chat.tsx — "Scroll to the latest message", "The assistant is still answering".

They appear in English in all eight languages, because the key is the same for everyone.

Fix

  1. Run the string extraction over these files so each literal gets a key in en.json.
  2. Add the translations for the languages you ship; I can supply Russian for all 48.
  3. Worth a check in CI: fail when a hint:/tr() literal has no key, so new screens cannot silently miss the dictionary again.

Validation

  • ru.json has no missing keys and no placeholder mistakes; the only values identical to English are terms such as API, GPU, JSON, PCIe, PDF, Ctrl (104 of them) — those are fine.
  • After the extraction step the three palette hints and the other 45 strings show translated text in the UI without any layout change.
Originally created by @Astemiir on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3479 ## What happens In the Russian UI the command palette shows three hints in English while the rest are translated: /plan Have the assistant write a plan first; nothing runs until you approve it /research Search the web, read the pages and answer with sources /new Start a new conversation; keep this one ## Why It is not a translation gap. These strings are missing from `en.json` itself, so no language can translate them: - `apps/host/src/locales/en.json` — 3348 keys, `ru.json` — the same 3348, 0 keys missing; - a search for any of the three strings in `en.json` returns nothing; - the strings live in code as literals that never went through the string extraction: `apps/host/src/screens/Chat.tsx:456` (`/plan`), `Chat.tsx:457` (`/research`), `apps/host/src/lib/commands.ts:42` (`/new`). The same gap covers 48 strings in total, mostly in the newer screens: - `components/NativeTune.tsx` — "Tune this model", "How long to spend", "What you mostly do", "Saved tunings"; - `components/TuneRunView.tsx` — "Took", "Changed", "Variation", "Nothing was changed"; - `components/TelemetryPopover.tsx` — "Thinking time", "Writing time", "tokens/s", "% of context"; - `components/GoalBar.tsx`, `components/TimeSkipPanel.tsx`, `components/PlanCard.tsx`; - `components/DropZone.tsx`, `components/TaskBoard.tsx`, `screens/Tasks.tsx`, `app/TaskTree.tsx`; - `screens/Chat.tsx` — "Scroll to the latest message", "The assistant is still answering". They appear in English in all eight languages, because the key is the same for everyone. ## Fix 1. Run the string extraction over these files so each literal gets a key in `en.json`. 2. Add the translations for the languages you ship; I can supply Russian for all 48. 3. Worth a check in CI: fail when a `hint:`/`tr()` literal has no key, so new screens cannot silently miss the dictionary again. ## Validation - `ru.json` has no missing keys and no placeholder mistakes; the only values identical to English are terms such as `API`, `GPU`, `JSON`, `PCIe`, `PDF`, `Ctrl` (104 of them) — those are fine. - After the extraction step the three palette hints and the other 45 strings show translated text in the UI without any layout change.
bsakaguchi 2026-11-04 01:51:09 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Add the Strata version (Settings > About, or strata --version).

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6296079182 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Add the Strata version (Settings > About, or `strata --version`). Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@Niko1221 commented on GitHub (Oct 22, 2026):

Thanks — this is a precise report, and the file/line references are helpful. To reproduce it we're missing two things: the app version/commit where you saw it (0.2.1 or 0.2.2?) and whether the same 48 strings are still English on 0.2.2. If they are, the Russian translations you offered would be welcome as a PR once the keys exist.

<!-- gh-comment-id:6337193612 --> @Niko1221 commented on GitHub (Oct 22, 2026): Thanks — this is a precise report, and the file/line references are helpful. To reproduce it we're missing two things: the app version/commit where you saw it (0.2.1 or 0.2.2?) and whether the same 48 strings are still English on 0.2.2. If they are, the Russian translations you offered would be welcome as a PR once the keys exist.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 26, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6413529204 --> @github-actions[bot] commented on GitHub (Oct 26, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1422
No description provided.