Skip to content

feat(web): translate the app shell, sign-in and setup wizard - #3899

Merged
Quick104 merged 1 commit into
mainfrom
i18n/web-area-shell-auth
Nov 10, 2026
Merged

Quick104 merged 1 commit into
mainfrom
i18n/web-area-shell-auth

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 #3898; the full stack order is in #3723.

The app shell, the signed-out pages and the setup wizard are hardcoded English, so someone who picks another language still signs in, sets up and navigates in English. This converts them to catalog messages.

Approach

Every string in the app shell and sidebar, components/ui, components/calm and components/page, the signed-out pages (sign-in, sign-up, password reset, invitation, activation), household setup, onboarding and the setup wizard now comes from the catalog through useT()/t(). Text the code stores or compares stays English. The converted files are on the ESLint guard. English is byte-identical.

Validation

  • Web tests, typecheck, ESLint and prettier pass on this branch.
  • English: the visible text and labels of 48 captured screens match main exactly.
  • On a sandbox: the sidebar and sign-in pages render in Spanish, Arabic (right to left), German and Japanese at desktop and phone width.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/pr-3899/

Surface and build: web app (signed out and signed in), desktop and phone width; English on main and on a build of the whole stack, and Spanish, Arabic, German and Japanese on that build.

Risks

None identified.

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); two adversarial rounds by Codex (gpt-6.1-sol) on the branch it was split from, findings fixed. Background review by Codex (gpt-6.1-sol) on 8424a0c: no findings.

🤖 Generated with Claude Code

Note

Translate the web app shell, sign-in flow, and setup wizard

  • Adds an i18n layer built on React Intl: typed message keys, a formatter with English fallback and RTL argument isolation, translation hooks, and a LocaleProvider that resolves the app language from the profile setting, a signed-out preference, or the device (i18n/format.ts, hooks/useAppLocale.tsx)
  • Converts the app shell, sign-in/signup/password screens, device activation, and all setup-wizard steps to catalog messages instead of hardcoded English strings; a signed-out language picker appears on auth screens
  • Adds a profile-scoped app-language setting in Accessibility settings and passes Accept-Language on API requests (client.ts)
  • Numbers, dates, and relative times now format with the app locale through formatLocale() across admin dashboards and stats
  • Adds locale catalogs (en, es, de, fr, pt-BR, ja, zh-Hans, ar plus pseudo-locales) and a sync-translations script to generate or fetch them (catalog.ts)
  • Behavioral Change: V2ProblemError.message and field-error display now resolve through problemText/problemFieldDetail with translated text, fixed at error construction (request.ts); several props with hardcoded English defaults (e.g. placeholder on SearchableSelect, labels on ConfirmDialog and TablePagination) now fall back to translations; pagination with itemNoun still renders an English summary

Macroscope summarized db11f06.

@silo-triage silo-triage Bot added the size/XXL 1000–2999 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

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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:12:43.398541Z a8b69f7 New commits
🔒 Security Review ✅ Completed 2026-11-10T02:13:53.485984Z a8b69f7 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 javascript Pull requests that update javascript code needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. 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
@Quick104
Quick104 force-pushed the i18n/web-section-titles branch from 4103ce6 to cef3f37 Compare November 9, 2026 20:08
@Quick104
Quick104 force-pushed the i18n/web-area-shell-auth branch 2 times, most recently from 9d7792d to db11f06 Compare November 10, 2026 02:08
@Quick104
Quick104 force-pushed the i18n/web-section-titles branch from 09e60a3 to fd19a20 Compare November 10, 2026 02:09
@Quick104
Quick104 changed the base branch from i18n/web-section-titles to main November 10, 2026 02:09
@silo-triage silo-triage Bot added size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. and removed size/XXL 1000–2999 added + deleted lines (all files); change volume, not priority. labels Nov 10, 2026
Extracts the app shell, sign-in, sign-up, password reset, invitation and
setup wizard text to the shared catalog, with English unchanged.
Placeholders are isolated in a right-to-left interface language before
its catalog ships.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Quick104
Quick104 force-pushed the i18n/web-area-shell-auth branch from db11f06 to a8b69f7 Compare November 10, 2026 02:10
@silo-triage silo-triage Bot added size/XXL 1000–2999 added + deleted lines (all files); change volume, not priority. and removed size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. labels Nov 10, 2026
@Quick104
Quick104 merged commit 9e1b72b into main Nov 10, 2026
1 check passed
@Quick104
Quick104 deleted the i18n/web-area-shell-auth branch November 10, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update javascript code needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. priority: P2 Limited scope, workaround exists, or polish size/XXL 1000–2999 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