Repository navigation
fix(i18n): translate the reasoning effort setting and its notice - #597
Merged
Merged
Conversation
The Agent editor's Reasoning effort row (name, description, the four options) and the notice offered when a model rejects the effort were hardcoded English, so they stayed English in the ten other UI languages. They now go through t(), with translations in every locale. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
[Low impact] This PR appears safe to merge; the translations preserve the setting values and reset behavior. SummaryRoutes the reasoning-effort setting and reset notice through
Reviews (1) · Last reviewed commit: "fix(i18n): translate the reasoning effor..." · Reviewed by Greptile |
Leo310
added a commit
that referenced
this pull request
Nov 26, 2026
Translates the Agent editor's Reasoning effort setting and the notice shown when a model rejects an effort, which were English in every UI language (#597). Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Agent editor's Reasoning effort row (#582) was hardcoded English: its name, its description, and the four options (Model default / Low / Medium / High). So was the notice offered when a model rejects the effort ("… doesn't accept a reasoning effort." with Use model default). Users on the ten other UI languages saw English in the middle of a translated editor. All of it now goes through
t():agents.editor.reasoning_effort_{name,desc,default,low,medium,high}, placed after the context-window keys.plugin.agent.reasoning_effort_{rejected,use_default}, next to the other agent notices.rejectedtakes{model}.Translations follow each locale's existing conventions: its word for "tokens", its quotation marks (
„…“,«…»,「…」,“…”), and its formal or informal "you". The description quotes the translated "Model default" option label, so the two always match. The translations are machine-made, like the rest of the catalog (#579).How I tested it
bun run check,format,lintandtest(2449) pass,bun run buildpasses, and madge reports no import cycles (reasoningEffortErrors.tsnow importsi18n). The catalog tests check that every locale has every key with matching placeholders. Not tried in a live vault.AI assistance: Claude Code found the hardcoded strings, moved them into the catalogs and wrote the ten translations from Leo's one-line brief; Leo reviews.
Checklist
bun run check,bun run format,bun run lint, andbun run testpass locallymanifest.json: I noted that the docs site needs updating (see "Documentation" in CONTRIBUTING.md)