i18n: fix Russian wording and translate default prompt suggestions - #29797
i18n: fix Russian wording and translate default prompt suggestions#29797CommanderTvis wants to merge 1 commit into
Conversation
|
🤖 Claude (via Claude Code): @EllaFr could you take a look at this one for review? Small ru-RU wording follow-up plus making the default prompt suggestions translatable. |
85cb98b to
2baaae1
Compare
|
🤖 Claude (via Claude Code): Thanks — yes, I've seen the per-language suggestions in Model Defaults, and that covers the admin-configured case well. The If you'd rather keep suggestions purely config-driven, I'm happy to drop that part. |
Replace unnatural ru-RU phrasing ("Механизм … engine", shouting "ВСЕ",
untranslated "LLMs", "Обмен с сообществом", "Экспериментальное") and fill
the two remaining empty strings.
Default prompt suggestions come from backend config and were never passed
through i18n, so the home screen stayed in English regardless of locale.
Suggestions.svelte now translates titles and content; custom admin
suggestions fall through unchanged. The default strings are registered as
keys so `i18n:parse` keeps them, which adds the empty keys to every locale.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7AD9p4feC4e9pAt77dbdj
2baaae1 to
a1dcc24
Compare

Pull Request
Checklist
devbranch.Closes #___/Relates to #___.Summary
Follow-up to the recent ru-RU completion (#29586, #29601, #29625, #29794) based on reviewing the Russian UI end to end.
ru-RU wording fixes
* Engine→ «Система …» instead of the literal «Механизм …» (Code Interpreter / Code Execution / Content Extraction / Image Generation)Formatting+ its description)Default prompt suggestions were never localized
The home-screen suggestions come from
DEFAULT_PROMPT_SUGGESTIONSin backend config and were rendered raw, so they stayed in English in every locale.Suggestions.sveltenow passes title and content through$i18n.t(); admin-defined suggestions that have no key fall through unchanged (i18next returns the input). The six default strings are registered in the component soi18n:parsekeeps their keys — that is why every other locale gains 18 empty keys. Russian is translated; other locales can fill them as usual.Testing
npm run i18n:parse→ clean treenpx eslint src/lib/components/chat/Suggestions.svelte→ cleanChangelog Entry
Added
Changed
Fixed
Removed
Security
Breaking Changes
Additional Context
The 63 non-Russian locale diffs are the 18 empty keys added by
i18n:parse; no existing translations were touched there.Contributor License Agreement
🤖 Generated with Claude Code
https://claude.ai/code/session_01J7AD9p4feC4e9pAt77dbdj