Skip to content

Studio i18n: translate the model picker expand and monochrome icon settings - #18468

Merged
danielhanchen merged 1 commit into
mainfrom
ci/i18n-model-picker-keys
Nov 19, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/i18n-model-picker-keys

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

The strict i18n parity check (npm run i18n:check:strict, run by "Frontend build + bundle sanity") fails on main for every PR:

Missing keys (will fall back to en): 4
  - settings.chat.modelSelection.pickerExpandLoaded
  - settings.chat.modelSelection.pickerExpandLoadedDescription
  - settings.chat.modelSelection.pickerMonochromeIcons
  - settings.chat.modelSelection.pickerMonochromeIconsDescription
...
Missing keys above. Add them to every overlay, or run without --strict to accept the English fallback.

Root cause

#18445 added two settings under Settings > Chat > Model selection ("Show full model list" and "Monochrome model icons") with their strings only in en.ts. Every one of the 24 overlays is therefore missing the four keys, so the strict parity check fails and non-English users see the English fallback for those two rows. The feature itself is correct; only the translations were missing.

Changes

  • Adds the four settings.chat.modelSelection.picker* keys to all 24 overlays in studio/frontend/src/i18n/locales/, placed right after fitOnDeviceOnlyDescription to match en.ts. Each translation follows the overlay's existing term for the model picker. es-419 reuses the es wording.

No code or behaviour change beyond the localized labels.

Testing

  • npm run i18n:check:strict: fails on main with the 4 keys missing in all 24 overlays; passes on this branch ("All locale overlays pass parity").
  • npm run typecheck: passes.
  • node --test tests/lazy-locale-loading.test.ts tests/chat-welcome-i18n.test.ts: 34 passed.

Screenshot

Settings > Chat with the German locale, scrolled to the model picker rows. Before, "Show full model list" and "Monochrome model icons" fall back to English; after, they read "Vollständige Modellliste anzeigen" and "Einfarbige Modellsymbole". The surrounding rows are unchanged.

Before and after: model picker settings in German

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T12:45:42.296813Z fd36b4c Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: fd36b4ca61

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Nov 19, 2026
@danielhanchen
danielhanchen merged commit 3f80e90 into main Nov 19, 2026
@danielhanchen
danielhanchen deleted the ci/i18n-model-picker-keys branch November 19, 2026 12:46
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