Repository navigation
feat(web): translate profiles, settings, requests, Watch Together, collections and notifications - #3902
Conversation
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 57 minutes. View limit details
|
Codex Review Summary: ✅ CompletedThis 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. |
|
The Evidence section identifies desktop captures only, while the translated profiles, settings, requests and collections are shared web screens. Please add before-and-after phone-width captures with a translated state, or explain why mobile web is unaffected. CONTRIBUTING.md requires mobile web evidence when these changes are visible at phone width. |
08d5032 to
fa1c490
Compare
|
Added phone-width captures to the evidence page: Profiles, Playback settings and Collections in English (before and after), Spanish and Arabic. |
fa1c490 to
2066036
Compare
0f9e608 to
751ba0b
Compare
2066036 to
210bd13
Compare
751ba0b to
9630f63
Compare
…llections and notifications Extracts the personal settings, profiles, requests, Watch Together, collections and notifications screens to the shared catalog with English unchanged. Stored and compared text stays English, counts are printed as written, and schedule ordinals keep English in a fallback. Text main added since (Plex Home import, saved Watch Party guest controls) is converted too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
210bd13 to
5e90e60
Compare
Resolve the conflicts with main's changes since d941225: - Query normalization moved to catalog.NormalizeQueryDefinitionJSON; structural admission moves with it, so backup restores also pass it. - /api/v1 is retired (#3200): drop the v1-only item loaders and doc text and the V1Rules test field. - The web collections pages are translated (#3902): "Count unavailable" and the manual editor's add-blocked messages become catalog keys (synced locally until the silo-translations change merges). - Server smart rules name their own libraries (#3711): a server save sends query_definition only when the rules change. - Save returns to the list (#3709) and smart collections need a rule (#3710): adjust the PR's tests to observe what they still can. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Problem
Related issue: #3188
Validation tasks: none (English output is unchanged on every converted screen)
Stacked on #3901; the full stack order is in #3723.
Profiles, the personal settings pages, requests, Watch Together, collections and notifications are hardcoded English, so a translated interface still manages profiles and settings in English. This converts them to catalog messages.
Approach
Profile selection and editing (PIN included), every personal settings page and the generic settings controls (the app-language picker stays where #3725 put it), requests discovery and the request list, the Watch Together hub, lobby and room, the collections list and its manual, smart and synced editors, and notifications now come from the catalog. Text the app stores or compares stays English, counts print as written, and schedule ordinals keep English in a fallback. Text
maingained during review on these screens (Plex Home import, saved Watch Party guest controls) is converted too; its keys are in the silo-translations release.To stay under the 800-line limit,
ProfileEditorDialog,lib/collections/copy.tsandCollections.tsxmove self-contained parts into sibling modules (ProfileEditorDialog.model.ts,copyEditor.ts,copyArrange.ts,Collections.cards.tsx);copy.tsre-exports them.Validation
mainon every converted screen.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3902/
Surface and build: web app settings and personal pages, desktop and phone width; English on
mainand on a build of the whole stack, and Spanish, Arabic, German and Japanese on that build. Phone captures show English (before and after), Spanish and Arabic.Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Translate web UI: profiles, settings, requests, Watch Together, collections, notifications
LocaleProviderresolves the app language from profile settings or a signed-out/browser choice before first render, anduseT/useServerTexthooks supply translated messages throughout the app (useAppLocale.tsx, format.ts, hooks.ts).eslint-plugin-formatjsrules banning JSX literal strings and literal toast text, plus the sync-translations script that fetches and verifies generated translation catalogs.problemFieldDetailinstead of raw detail strings (request.ts), and settings-search text normalization preserves non-ASCII letters so search works in other scripts.room_reconnectingin VideoPlayer.tsx); any remaining label-string comparisons would break in non-English locales.Macroscope summarized 210bd13.