Skip to content

feat(web): translate profiles, settings, requests, Watch Together, collections and notifications - #3902

Merged
Quick104 merged 2 commits into
mainfrom
i18n/web-area-personal
Nov 10, 2026
Merged

Quick104 merged 2 commits into
mainfrom
i18n/web-area-personal

Conversation

@Quick104

@Quick104 Quick104 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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 main gained 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.ts and Collections.tsx move self-contained parts into sibling modules (ProfileEditorDialog.model.ts, copyEditor.ts, copyArrange.ts, Collections.cards.tsx); copy.ts re-exports them.

Validation

  • Web tests, typecheck, ESLint, prettier, the size ratchet and the bidi check pass on this branch.
  • English: per-screen visible text matches main on every converted screen.
  • On a sandbox: the screens below render in Spanish, Arabic (right to left), German and Japanese.

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 main and 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

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code; Codex
  • Model(s): claude-opus-5-5; claude-sonnet-5-5; gpt-6.1-sol
  • Involvement: Fully AI-generated; human review pending
  • Adversarial review: code review by Claude (claude-opus-5-5); one adversarial round by Codex (gpt-6.1-sol) on the branch it was split from, findings fixed. Background review by Codex (gpt-6.1-sol) on 08d5032: F1 (Device settings builds "your"/"Sam's" in code) is fixed by the shared-helpers PR feat(web): translate the shared helpers, and write possessives as whole messages #3907 in the same merge group.

🤖 Generated with Claude Code

Note

Translate web UI: profiles, settings, requests, Watch Together, collections, notifications

  • Adds a react-intl-based i18n layer: LocaleProvider resolves the app language from profile settings or a signed-out/browser choice before first render, and useT/useServerText hooks supply translated messages throughout the app (useAppLocale.tsx, format.ts, hooks.ts).
  • Replaces hard-coded English strings across pages, components, player, reader, and audiobook player with translation lookups. Locale-aware number, date, relative-time, and language-name formatting replace fixed English output (languageNames.ts, datetime.ts).
  • Adds signed-out language pickers to auth screens and a profile app-language setting on the accessibility settings page, gated by settings capability (AuthLanguagePicker.tsx, AccessibilitySettings.tsx).
  • Adds eslint-plugin-formatjs rules banning JSX literal strings and literal toast text, plus the sync-translations script that fetches and verifies generated translation catalogs.
  • Several small fixes ride along: V2 problem field errors now route through problemFieldDetail instead of raw detail strings (request.ts), and settings-search text normalization preserves non-ASCII letters so search works in other scripts.
  • Risk: strings embedded in persisted data are deliberately kept English and could regress if changed — saved subtitle track signatures in prePlaySelection.ts must remain stable, as must row-kind names used as stored titles in payloads.ts and the reader's default bookmark note in EbookReader.tsx. Notice comparisons now use message kinds/flags instead of matching English text (e.g. room_reconnecting in VideoPlayer.tsx); any remaining label-string comparisons would break in non-English locales.

Macroscope summarized 210bd13.

@silo-triage silo-triage Bot added the size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. label Nov 9, 2026
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d297ee71-4326-48bc-8a06-b5df6b0e5007
Commits

Reviewing files that changed from the base of the PR and between 63ba043 and 5e90e60.

Files selected for processing: 214

  • web/eslint.config.js
  • web/src/api/adminCollections.ts
  • web/src/components/AddToCollectionDialog.tsx
  • web/src/components/CancelRequestDialog.tsx
  • web/src/components/CollectionTemplateGallery/CollectionTemplateCard.tsx
  • web/src/components/CollectionTemplateGallery/MDBListBrowser.tsx
  • web/src/components/LibraryAccessSelector.tsx
  • web/src/components/LibraryMultiSelect.tsx
  • web/src/components/RequestDownloadProgress.tsx
  • web/src/components/RequestPosterCard.tsx
  • web/src/components/RequestResultsGrid.tsx
  • web/src/components/RequestSeasonsDialog.tsx
  • web/src/components/RequestStatusBadge.tsx
  • web/src/components/RequestToAddSection.tsx
  • web/src/components/UserPolicyFields.tsx
  • web/src/components/collections/CollectionActionsMenu.tsx
  • web/src/components/collections/CollectionGuidedRulesEditor.tsx
  • web/src/components/collections/CollectionPageActions.tsx
  • web/src/components/collections/CollectionPageHero.tsx
  • web/src/components/collections/CollectionPosterCard.tsx
  • web/src/components/collections/CollectionRowSummary.tsx
  • web/src/components/collections/CollectionRulesEditor.tsx
  • web/src/components/collections/DeleteCollectionDialog.tsx
  • web/src/components/collections/DeleteCollectionsDialog.tsx
  • web/src/components/collections/HideCollectionDialog.tsx
  • web/src/components/collections/NewCollectionPicker.tsx
  • web/src/components/collections/ShowToOtherProfilesField.tsx
  • web/src/components/collections/StarterPacksDialog.tsx
  • web/src/components/collections/TMDBListURLField.tsx
  • web/src/components/collections/admin/CollectionListItem.tsx
  • web/src/components/collections/admin/GroupCard.tsx
  • web/src/components/collections/admin/GroupsBoard.test.tsx
  • web/src/components/collections/admin/GroupsBoard.tsx
  • web/src/components/collections/admin/MoveCollectionSheet.tsx
  • web/src/components/collections/admin/ShelfDialogs.tsx
  • web/src/components/collections/admin/ShelfMenus.tsx
  • web/src/components/collections/admin/ViewerPreview.tsx
  • web/src/components/collections/collectionBuilderFields.ts
  • web/src/components/collections/editor/AddAsRowMenu.tsx
  • web/src/components/collections/editor/CollectionEditor.tsx
  • web/src/components/collections/editor/CollectionMetaLine.tsx
  • web/src/components/collections/editor/CollectionPreviewPane.tsx
  • web/src/components/collections/editor/ConflictBanner.tsx
  • web/src/components/collections/editor/DetailsPanel.tsx
  • web/src/components/collections/editor/EditorHeader.tsx
  • web/src/components/collections/editor/LockedSourceSummary.tsx
  • web/src/components/collections/editor/LookPanel.tsx
  • web/src/components/collections/editor/ManualContentsPanel.tsx
  • web/src/components/collections/editor/PersonalRowsThatShowIt.tsx
  • web/src/components/collections/editor/RowsThatShowIt.tsx
  • web/src/components/collections/editor/SaveFirstDialog.tsx
  • web/src/components/collections/editor/SmartRulesPanel.tsx
  • web/src/components/collections/editor/SyncStatusBlock.tsx
  • web/src/components/collections/editor/SyncedListPanel.tsx
  • web/src/components/collections/editor/WhereItShowsPanel.tsx
  • web/src/components/collections/fields/ArtworkFields.tsx
  • web/src/components/collections/fields/FranchiseIdField.tsx
  • web/src/components/collections/fields/LibrariesLine.tsx
  • web/src/components/collections/fields/OrderBlock.tsx
  • web/src/components/collections/fields/ScheduleField.tsx
  • web/src/components/collections/fields/TMDBChartField.tsx
  • web/src/components/notifications/MobilePushPrivacyDisclosure.tsx
  • web/src/components/notifications/NotifiedSeriesList.tsx
  • web/src/components/notifications/reasons.ts
  • web/src/components/overlays/settings/BadgeImagesControl.tsx
  • web/src/components/overlays/settings/OverlayImageLibrary.tsx
  • web/src/components/overlays/settings/OverlayLookControls.tsx
  • web/src/components/policy/RegoEditor.tsx
  • web/src/components/profiles/AllowCollectionDialog.tsx
  • web/src/components/profiles/AllowTitleDialog.tsx
  • web/src/components/profiles/AllowedTitlesSection.tsx
  • web/src/components/profiles/HouseholdStreamsPanel.tsx
  • web/src/components/profiles/ProfileEditorDialog.model.ts
  • web/src/components/profiles/ProfileEditorDialog.tsx
  • web/src/components/profiles/ProfileLibraryAccess.tsx
  • web/src/components/profiles/ProfilePinDialog.tsx
  • web/src/components/profiles/pinLockout.ts
  • web/src/components/sessions/LoginSessionRow.tsx
  • web/src/components/sessions/LoginSessionsPanel.tsx
  • web/src/components/settings/AdvancedSection.tsx
  • web/src/components/settings/CurrentProfileLink.tsx
  • web/src/components/settings/DeviceList.tsx
  • web/src/components/settings/DeviceSettingGroups.tsx
  • web/src/components/settings/LanguageSelect.tsx
  • web/src/components/settings/LimitField.tsx
  • web/src/components/settings/MetadataLanguageSetting.tsx
  • web/src/components/settings/NotInterestedList.tsx
  • web/src/components/settings/PathSettingField.tsx
  • web/src/components/settings/ProfileLaunchSettingsGroup.tsx
  • web/src/components/settings/ProviderTile.tsx
  • web/src/components/settings/RegistrySettingControl.tsx
  • web/src/components/settings/RestartBadge.tsx
  • web/src/components/settings/SecretField.tsx
  • web/src/components/settings/SettingSlider.tsx
  • web/src/components/settings/SettingsIndexList.tsx
  • web/src/components/settings/SettingsSearchInput.tsx
  • web/src/components/settings/SettingsSidebar.tsx
  • web/src/components/settings/SubtitleAppearancePanelView.tsx
  • web/src/components/settings/UserSettingsSidebar.tsx
  • web/src/components/settings/lastSeenLabel.ts
  • web/src/components/settings/settingsSearch.ts
  • web/src/components/watchtogether/ConnectionStatusDot.tsx
  • web/src/components/watchtogether/EndWatchPartyDialog.tsx
  • web/src/hooks/queries/collectionScope.ts
  • web/src/hooks/queries/notifications.ts
  • web/src/hooks/queries/titleAllowances.ts
  • web/src/hooks/useCollectionPageAccess.ts
  • web/src/hooks/useUserSettingsGroups.ts
  • web/src/i18n/format.ts
  • web/src/i18n/index.ts
  • web/src/lib/appLocale.ts
  • web/src/lib/collectionDisplayFilters.ts
  • web/src/lib/collectionTemplates.ts
  • web/src/lib/collections/adminList.ts
  • web/src/lib/collections/copy.ts
  • web/src/lib/collections/copyArrange.ts
  • web/src/lib/collections/copyEditor.ts
  • web/src/lib/collections/personalOwnership.ts
  • web/src/lib/collections/rows.ts
  • web/src/lib/collections/scope.ts
  • web/src/lib/collections/shelves.ts
  • web/src/lib/collections/starterPacks.ts
  • web/src/lib/collections/synced.ts
  • web/src/lib/collections/tmdbSources.ts
  • web/src/lib/collections/types.ts
  • web/src/lib/deviceSettingGroups.ts
  • web/src/lib/homeRows/describe.ts
  • web/src/lib/languageOptions.ts
  • web/src/lib/loginSessionDevice.ts
  • web/src/lib/mediaRequests.ts
  • web/src/lib/overlays/presets.ts
  • web/src/lib/overlays/registry/metadata.ts
  • web/src/lib/overlays/registry/ratings.ts
  • web/src/lib/overlays/registry/ribbons.ts
  • web/src/lib/overlays/registry/tech.ts
  • web/src/lib/overlays/types.ts
  • web/src/lib/overlays/ui-constants.ts
  • web/src/lib/playback-quality.ts
  • web/src/lib/profile-avatars.ts
  • web/src/lib/profile-management.ts
  • web/src/lib/profileDataTypes.ts
  • web/src/lib/requestDownload.ts
  • web/src/lib/settingsDisplay.ts
  • web/src/lib/settingsText.ts
  • web/src/lib/subtitleAppearance.ts
  • web/src/lib/userSettingsNav.ts
  • web/src/lib/watchTogetherActions.ts
  • web/src/pages/AdminCollections.select.test.tsx
  • web/src/pages/AdminCollections.tsx
  • web/src/pages/AdminHomeRows.tsx
  • web/src/pages/CollectionEditorPage.personalRows.test.tsx
  • web/src/pages/CollectionEditorPage.test.tsx
  • web/src/pages/CollectionEditorPage.tsx
  • web/src/pages/CollectionEditorPage.whereItShows.test.tsx
  • web/src/pages/Collections.cards.tsx
  • web/src/pages/Collections.tsx
  • web/src/pages/LibraryCollections.tsx
  • web/src/pages/Notifications.tsx
  • web/src/pages/Profiles.tsx
  • web/src/pages/RequestBrowse.tsx
  • web/src/pages/RequestDiscoverSection.tsx
  • web/src/pages/Requests.tsx
  • web/src/pages/SettingsLayout.tsx
  • web/src/pages/admin-requests/DiscoverRowDialog.tsx
  • web/src/pages/settings/AccessibilitySettings.tsx
  • web/src/pages/settings/AccountSettings.tsx
  • web/src/pages/settings/AccountSignInSection.tsx
  • web/src/pages/settings/CardOverlaySettings.tsx
  • web/src/pages/settings/ConnectAppsSettings.tsx
  • web/src/pages/settings/DeviceSettings.tsx
  • web/src/pages/settings/HistoryImportSettings.tsx
  • web/src/pages/settings/HomeScreenSettings.tsx
  • web/src/pages/settings/InterfaceSettings.tsx
  • web/src/pages/settings/LibrarySettings.tsx
  • web/src/pages/settings/NotificationsSettings.tsx
  • web/src/pages/settings/PersonalizeSettings.tsx
  • web/src/pages/settings/PlaybackConnection.tsx
  • web/src/pages/settings/PlaybackSettings.tsx
  • web/src/pages/settings/PosterCardPreview.tsx
  • web/src/pages/settings/ProfilesSettings.tsx
  • web/src/pages/settings/RequestsSettings.tsx
  • web/src/pages/settings/ResetButton.tsx
  • web/src/pages/settings/SignedInSessions.tsx
  • web/src/pages/settings/SubtitleAppearanceSettings.tsx
  • web/src/pages/settings/TitleArtSettingsGroup.tsx
  • web/src/pages/settings/TitlePagesSettings.tsx
  • web/src/pages/settings/WatchProvidersSettings.tsx
  • web/src/pages/settings/WebhookSyncSettings.tsx
  • web/src/pages/settings/YourDataSettings.tsx
  • web/src/pages/settings/connectApps.ts
  • web/src/pages/settings/libraryPlaybackPreferences.ts
  • web/src/pages/watchtogether/DetailWatchTogether.tsx
  • web/src/pages/watchtogether/StartPartySheet.tsx
  • web/src/pages/watchtogether/WatchPartyHub.tsx
  • web/src/pages/watchtogether/WatchPartyInvite.tsx
  • web/src/pages/watchtogether/WatchTogetherRoomPage.tsx
  • web/src/pages/watchtogether/hooks/useActivityFeed.ts
  • web/src/pages/watchtogether/hooks/useRoomActions.ts
  • web/src/pages/watchtogether/room/RoomRail.tsx
  • web/src/pages/watchtogether/room/RoomStatusStrip.tsx
  • web/src/pages/watchtogether/room/browse/BrowseShelf.tsx
  • web/src/pages/watchtogether/room/browse/CandidateStage.tsx
  • web/src/pages/watchtogether/room/picker/EpisodeStateDots.tsx
  • web/src/pages/watchtogether/room/picker/MovieDetailPanel.tsx
  • web/src/pages/watchtogether/room/picker/PickerRow.tsx
  • web/src/pages/watchtogether/room/picker/SeriesDrilldown.tsx
  • web/src/pages/watchtogether/room/picker/usePickerData.ts
  • web/src/pages/watchtogether/room/stage/InviteBar.tsx
  • web/src/pages/watchtogether/room/stage/LobbyStage.tsx
  • web/src/pages/watchtogether/room/stage/PlayingStage.tsx
  • web/src/pages/watchtogether/room/stage/ReadyCheckRow.tsx
  • web/src/pages/watchtogether/room/stage/StagedHero.tsx
  • web/src/pages/watchtogether/room/stage/SuggestionList.tsx
  • web/src/pages/watchtogether/room/stage/VotingStage.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 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-10T02:14:07.831608Z 5e90e60 New commits
🔒 Security Review ✅ Completed 2026-11-10T02:15:45.403832Z 5e90e60 New commits
ℹ️ 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.

@silo-triage silo-triage Bot added enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes priority: P2 Limited scope, workaround exists, or polish stacked Base is another open PR; merge in stack order named in the body labels Nov 9, 2026
@silo-triage

silo-triage Bot commented Nov 9, 2026

Copy link
Copy Markdown

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.

@Quick104 Quick104 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adversarial review (gpt-6.1-sol, reviewed 08d5032)

One localization defect remains in device settings, detailed inline.

AI disclosure: Reviewed by gpt-6.1-sol through the Codex harness in T3 Code.

@Quick104

Quick104 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Added phone-width captures to the evidence page: Profiles, Playback settings and Collections in English (before and after), Spanish and Arabic.

@Quick104
Quick104 force-pushed the i18n/web-area-personal branch from fa1c490 to 2066036 Compare November 9, 2026 20:08
@Quick104
Quick104 force-pushed the i18n/web-area-playback branch 2 times, most recently from 0f9e608 to 751ba0b Compare November 10, 2026 02:08
@Quick104
Quick104 force-pushed the i18n/web-area-personal branch from 2066036 to 210bd13 Compare November 10, 2026 02:08
@Quick104
Quick104 force-pushed the i18n/web-area-playback branch from 751ba0b to 9630f63 Compare November 10, 2026 02:10
@Quick104
Quick104 changed the base branch from i18n/web-area-playback to main November 10, 2026 02:10
Quick104 and others added 2 commits November 9, 2026 21:10
…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]>
@Quick104
Quick104 force-pushed the i18n/web-area-personal branch from 210bd13 to 5e90e60 Compare November 10, 2026 02:10
@Quick104
Quick104 merged commit 0e943cf into main Nov 10, 2026
3 checks passed
@Quick104
Quick104 deleted the i18n/web-area-personal branch November 10, 2026 02:11
Quick104 added a commit that referenced this pull request Nov 14, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes priority: P2 Limited scope, workaround exists, or polish size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. stacked Base is another open PR; merge in stack order named in the body

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant