Skip to content

Signup content in the organizer app isn't marked with the signup's language #951

Closed

Description

@richshaw

Needs your OK: this marks a signup's own text (its title, field labels and slot values) with the signup's language wherever the organizer app shows it in a page of another language, so screen readers and browser translation read it right. Nothing changes while only English ships. Swap pipeline:proposed for pipeline:ready to have it built.

What happens

Once the app follows the organizer's language (#937), one screen can hold two languages: OpenSignup's words in the organizer's, and the signup's own text in whatever the organizer wrote it in, which the signup's language setting records. The signup's own pages already say so with lang (#628). In the organizer app nothing marks it, so a screen reader reads a signup's title in the app's voice.

The places it shows:

  • the dashboard's list of signups (src/app/app/(chrome)/page.tsx);
  • the signup header (src/components/signup/SignupHeader.tsx) and the title crumb (SignupTitleCrumb.tsx);
  • the Build tab (src/components/build-wysiwyg/BuildWysiwyg.tsx and the slot and field components);
  • Responses (src/app/app/(chrome)/signups/[id]/responses/page.tsx).

Fix, in outline

  • Mark it only where it differs. Wrap the signup's own text in lang={signup's language} when that isn't the page's language, and leave it unmarked when they match, so nothing changes for most organizers.
  • The signup's language is its stored setting read by the same rule its pages use (signupLocale), not a guess from the text.
  • The dashboard needs each signup's stored language from its list read. Take it in the query that already loads the list, with no new statement.

Watch for

  • Participants' names and notes on Responses aren't the signup's language: they're whatever each person typed. Leave them unmarked.
  • The Build tab hydrates on the client. The marks must render the same on server and client.

Order

Built on the localization stack (top: #936); see #619. After #941 (the header), #944 (the Build tab) and #945 (Responses), which move the text around these spots.

Gate

Auto. While only English ships, every page and signup is in English, so no mark is rendered.

Done when

  • A signup stored in a test language, shown to an organizer in English, has its title, field labels and slot values marked with that language on the dashboard, header, crumb, Build tab and Responses; a signup in the page's own language has no mark.
  • The statement count for the dashboard doesn't grow.
  • pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm test, pnpm test:db if the list read changes, and pnpm build && pnpm budgets pass.

Revised 15 November 2026

From the reviews of #962 (the Build tab) and #964 (Responses):

  • Format, not only mark. Slot values and dates the organizer app shows from a signup are formatted in the signup's language, as well as marked with its lang. Today the Build tab's dates and times (WysiwygGroup.tsx, WysiwygSlot.tsx, TimeSelect.tsx) and the Responses tab's slot values (responses/page.tsx) are formatted with a literal 'en'. Left as they are, an organizer in another language would read English dates inside translated sentences. Formatting in the browser needs a hydration check in each test language, as the Build tab's own text has.
  • Also mark: the field names in the Build tab's Fields dialog, and the Preview button's tip (a title can't carry its own lang, so it moves to visually hidden text with one).
  • Built in two parts, one on each of the stack's two tracks: the Build tab and Responses (after Magic Compose's questions and warnings are English-only #947), then the dashboard, the signup header and the Preview button (after The OAuth consent screen is English-only #950).
  • Must land before the launch (Signups can't be in Swedish yet #639).

Phase 2 of #619, from the owner's decisions of 14 and 15 November 2026 and a survey of the organizer code. Checked against the localization stack at 750e570 (top: #936), which isn't on main yet.

https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt

Activity

  1. added
    pipeline:ux
    pipeline:working
    and removed on Nov 15, 2026
  2. self-assigned this
    on Nov 15, 2026
  3. removed
    pipeline:working
    on Nov 15, 2026
  4. added 4 commits that reference this issue on Nov 15, 2026
  5. richshaw commented on Nov 16, 2026

    @richshaw
    OwnerAuthor

    Both parts of this issue are now on main:

    Together they cover the revised scope: signup content is marked with the signup's language, and its values are formatted in that language. Neither PR carried a "Fixes" line, so I'm closing this by hand.

    https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt


    Generated by Claude Code

  6. removed
    pipeline:ux
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions