Skip to content

Studio: add the four settings.agents keys to every locale overlay - #9808

Merged
danielhanchen merged 1 commit into
mainfrom
locale-agents-parity
Aug 26, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
locale-agents-parity

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

What

0451b8f24d9ffffb09a4756035c5a4364372000d (#9752, merged 2026-08-26T08:02Z) added four keys under
settings.agents to studio/frontend/src/i18n/locales/en.ts and to none of the eleven overlays:

  • automaticSettingsNote
  • configurationNote
  • configurationDocs
  • configurationFlagsSuffix

CI runs npm run i18n:check:strict, which fails on missing keys, so the Locale parity step of
Frontend build + bundle sanity has failed on main ever since, and on every studio PR opened
since. It is unrelated to anything those PRs change.

=== ja ===
Missing keys (will fall back to en): 4
  - settings.agents.automaticSettingsNote
  - settings.agents.configurationNote
  - settings.agents.configurationDocs
  - settings.agents.configurationFlagsSuffix
Missing keys above. Add them to every overlay, or run without --strict to accept the English fallback.

The change

The four keys in the eleven overlays, and nothing else. Nine lines per file, inserted where they sit
in en.ts.

On the strings themselves

They carry the English text verbatim, which is exactly what the runtime fallback already
renders, so nothing a user sees changes today and no wrong translation can ship silently. Eleven
files with one identical block is also the cheapest possible thing to review.

They still need real translations, as a follow-up. One note for whoever takes that on:
configurationNote + configurationDocs + configurationFlagsSuffix are three fragments of one
sentence assembled in a fixed order around an inline link ("You can also adjust any configuration.
See further below or [docs] for flags."). Several of these languages cannot keep that word order, so
the sentence wants restructuring into one key with a placeholder before it is translated, rather
than translating the fragments as they stand. There is a comment above the block saying so.

automaticSettingsNote is a self-contained sentence and can be translated as is.

Verification

npm run i18n:check:strict   ->  All locale overlays pass parity.
tsc -b                      ->  clean

biome check on src/i18n/locales/ reports the same pre-existing findings before and after; none
are on the added lines.

0451b8f (#9752) added settings.agents.automaticSettingsNote,
configurationNote, configurationDocs and configurationFlagsSuffix to
en.ts and to none of the eleven overlays, so the Locale parity step of
"Frontend build + bundle sanity" has failed on main and on every studio
PR opened since.

The four are added with the English string, which is what the runtime
fallback already renders, so nothing a user sees changes. They still need
real translations.
@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: f2a4843d5b

ℹ️ 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
danielhanchen merged commit 7d2b384 into main Aug 26, 2026
36 of 41 checks passed
@danielhanchen
danielhanchen deleted the locale-agents-parity branch August 26, 2026 21:54
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