Repository navigation
Studio i18n: translate the browser tool steps and program download prompts in every locale - #16677
Merged
Merged
Conversation
…ompts in every locale
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
This was referenced Nov 5, 2026
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.
Summary
Frontend build + bundle sanityrunsnpm run i18n:check:strict, and that step fails on main for every PR. For example #16671, which only touches the glass wallpaper:The same 9 keys are missing from all 24 overlays. Two PRs added them to
en.tsonly:71c643e02a) added the browser agent'stabs,readFileandeditFilesteps.eec7711a42) added the program download setting, "Allow programs too", and the threedownloadPromptchoices.Both features are fine. They only skipped the overlay step the strict gate asks for, so non-English users currently see these strings in English.
Change
studio/frontend/src/i18n/locales/*.ts, every overlay excepten.ts. Each one gets the 9 keys, placed whereen.tshas them:draginbrowser.agent.step;askBeforeDownloadingSettingDescription;downloadSiteAllowAllafterdownloadSiteAllow;once,siteandallafterrememberinbrowser.downloadPrompt.The wording follows each locale's existing neighbours. Agent steps use the same form as that locale's other steps, for example "Zieht" / "Liest die Datei" in German, "Arrastrando" / "Leyendo el archivo" in Spanish, and "正在拖动" / "正在读取文件" in Simplified Chinese. The download strings reuse that locale's terms for "download", "always allow" and "site".
{host}is kept in everysitestring.es-419uses the same text ases. No English string and no other key changes.Testing
npm run i18n:check:strict: main fails with 9 missing keys in each of the 24 overlays. This branch passes,Missing keys (will fall back to en): 0for every locale, "All locale overlays pass parity."browser.downloadPrompt.sitefromnl.tsagain makes the strict check fail and name that key, so the gate still catches a missing key.tests/lazy-locale-loading.test.tsandtests/locale-detection.test.ts: 35 passed.tsc --noEmit -p tsconfig.app.jsonreports nothing insrc/i18n.