Repository navigation
fix(app): add missing translations - #64205
Conversation
There was a problem hiding this comment.
I found no blocking problems. The change only adds keys: the only deleted lines in the diff are blank lines. I checked every locale in the app, ui and gui-plugin catalogs against en.ts with a script. On the base, 57,222 keys are missing in total; with this PR, none are. Placeholder and plural-category problems are the same on the base and the PR, so the new entries add no mismatched {{placeholders}} and no invalid plural keys. Tests pass in app i18n and context, in ui i18n.test.ts and in gui-plugins bun test. tsc passes in app, ui and gui-plugins.
Public API: unchanged. The PR only adds locale dictionary entries.
Two things worth noting:
packages/app/AGENTS.mdasks translation work to be checked against CLDR, Microsoft, Mozilla and similar terminology sources, and asks review notes to name the sources used and flag uncertain terms for native speakers. The description says no native speaker has reviewed these, so a short note per locale (or at least for the riskiest ones) on which sources were checked and which terms are uncertain would help reviewers.- One more existing problem is missing from the description's out-of-scope list. In
hr,hu,isandlt, a run of existingdesktop.menu.*,desktop.cli.*anddesktop.recovery.*values is shifted onto the wrong keys. For example,desktop.menu.documentationholds "CLI installed to {{path}}". This is #61252, and the PR doesn't change it.
There was a problem hiding this comment.
The new commit fixes a session-ui test that the first commit broke. Your translations add newTimeline keys to every locale, so boundary.test.ts treated those files as unexpected readers of the experiment. With the old test file against these translations, it fails one of 3 tests; with the updated one, all 3 pass. The new pattern only exempts files directly under app/src/runtime/i18n/, so the check is no weaker for any other file.
You've addressed both earlier points in the description. It now says which translation sources were and weren't checked and lists uncertain terms per locale, and the hr/hu/is/lt shifted desktop.* values are in the out-of-scope list.
Public API: unchanged.
Translation review notes (1/8): am–caam (Amharic)Sources:
Terms:
Changed:
Uncertain:
Existing strings:
ar (Arabic)Sources:
Terms:
Changed:
Open questions resolved (kept as is):
Uncertain:
Existing strings:
az (Azerbaijani)Sources:
Terms:
Changed:
Uncertain:
Existing strings (not changed):
bg (Bulgarian)Sources: firefox-l10n Terms:
Changed:
Uncertain:
Existing strings:
bn (Bangla)Sources:
Terms:
Changed:
Uncertain:
Existing strings:
br (Brazilian Portuguese)Sources
Terms
Changed
Uncertain
Existing strings
bs (Bosnian)Sources
Terms
Changed
Uncertain
Existing strings
ca (Catalan)Sources
Terms
Changed
Uncertain
Existing strings
|
Translation review notes (2/8): cs–etcs (Czech)Sources: VS Code language pack Terms:
Changed:
Uncertain:
Existing strings:
da (Danish)Sources:
Terms:
Changed:
Uncertain:
Existing strings:
de (German)Sources:
Terms:
Changed:
Uncertain:
Existing strings:
dv (Dhivehi)Sources:
Terms:
Changed:
Open questions resolved (kept):
Uncertain:
Existing strings:
dz (Dzongkha)Sources:
Terms:
Changed:
Uncertain:
Existing strings:
el (Greek)Sources:
Terms:
Changed:
Uncertain:
|
Issue for this PR
Closes #
Type of change
What does this PR do?
Every non-English locale was missing about 920 strings and fell back to English. This PR fills in those gaps for all 62 locales in:
packages/app/src/runtime/i18npackages/ui/src/i18nIt only adds keys. No existing strings are changed or removed, and the new keys go at the end of each dictionary.
.zero,.two,.fewand.manynext to the new.one/.otherpairs, as the existing files do.close.tipnow uses that locale's exact name for the "Toggle debug bar" palette command.Not covered here:
en.ts: btw, goal, microsoft-office, pairing and sources have no locale files yet.packages/datacatalogs:services/siteuses its own stamp-based check, and both use a smaller set of locales.Problems found in existing strings but left alone, because they're out of scope:
manyandotherswapped.desktop.menu.*,desktop.cli.*anddesktop.recovery.*values sits on the wrong keys (app: hamburger menu shows message templates ({{path}}/{{error}}) instead of item labels #61252).Translation sources
Following
packages/app/AGENTS.md, each locale went through a second terminology pass after the first translation:mozilla-l10n/firefox-l10nwith its en-US source). The 13 locales with a VS Code language pack were also checked against it (microsoft/vscode-loc).That pass changed 1,675 of the new values, all in keys this PR adds. Existing strings are unchanged; problems in them are listed in the notes instead.
Five locales have no Firefox or VS Code corpus: am, dv, dz, fo and tk. Their checks rely on Microsoft terminology lists, GNOME, Mozilla Pontoon (Common Voice), the language authority and web usage, so they're the least verified.
Per-locale notes are in the comments below. Each lists the sources actually opened, a term table with evidence, what changed, what's still uncertain, and problems in existing strings. No native speaker has reviewed these translations yet, so the "Uncertain" lists are the best place to start.
How did you verify your code works?
{{placeholders}}match the English, and the only extra keys are valid plural categories. After this change, no locale is missing any key in these catalogs.bun typecheckpasses inpackages/app,packages/uiandpackages/gui-plugins.src/runtime/i18n) and ui (src/context/i18n.test.ts), andbun testpasses in gui-plugins.oxlintreports nothing on the changed files, and they're formatted with prettier.No native speakers have reviewed the translations. See "Translation sources" above and the per-locale notes in the comments.
Screenshots / recordings
N/A
Checklist
Added by the opencode bot (AI-generated).
Related: #53858, #51868, #62733, #61252, #55928