Skip to content

Signups made before Swedish shipped stay in English, and nothing tells their organizers #640

Closed as not planned

Description

@richshaw

Needs your OK: this shows organizers who probably want Swedish a notice offering to switch them and their open signups. It now ships with the Swedish launch (#639). Earlier it was optional, to be decided afterwards. Swap pipeline:proposed for pipeline:ready to have it built.

What happens

#619 exists because organizers already write signups in Swedish. On the day Swedish ships (#639), little changes for them:

  • Their existing signups stay English. A signup made before Signups can't be in Swedish yet #639 has no stored language and follows the participant default: English, unless the operator set DEFAULT_LOCALE.
  • Their new hand-built signups may stay English too. A new signup starts in its organizer's language (New signups don't start in their organizer's language #627). Until they save one, that's a guess from their browser, and many Swedes run their phones in English.
  • Nothing tells them. "Language for new signups" is in account Settings and "Signup language" is in each signup's Settings tab. Signups can't be in Swedish yet #639's two prompts appear only after one of those is saved.

So without this, the launch reaches the organizers whose browser happens to say Swedish, and those who go looking.

Fix, in outline

  • A notice on Your signups (src/app/app/(chrome)/page.tsx): "Your signups can be in Swedish now."
  • Who sees it. Only while organizers.locale is empty, and only organizers who probably want Swedish:
    • their browser's first language is Swedish; or
    • their signups look Swedish.
  • Two buttons, both saving a value, so the notice needs no dismissal cookie or column:
  • The guess. A pure function, unit tested, over text the page already loads (listSignupSummariesForWorkspace): Swedish letters plus a short list of common Swedish words. Keep it as a small table per language, so the next language adds a list and no code.
  • Not when the instance has a language. When DEFAULT_LOCALE is set, organizers and signups with no language of their own already follow it, so the notice never shows.

Watch for

  • Reuse the existing banner component (src/components/banner.tsx; CLAUDE.md: reuse banners and state messages).
  • Keep the page's query count in check. The guess reads what the list already loads. If that isn't enough to tell (titles alone), add one bounded read, not one per signup.
  • A wrong guess is cheap. "Keep English" is one click and the notice is gone for good. So lean towards showing it.
  • Telemetry. Record that it was shown and which button was chosen, documented in docs/telemetry.md. Don't write a row on every page load: follow src/lib/view-tracker.ts.
  • The notice's own words. The app is English until the organizer-app phase of Epic: OpenSignup in Swedish, and other languages after it #619. A second line in Swedish would help the people this is for; it goes through the translate skill and its review (There's no guide for translating OpenSignup, and no Swedish glossary #637) like any other string.
  • Magic Compose signups need this less. After A signup drafted by Magic Compose can start in a different language from its draft #635 a drafted signup takes its description's language. This notice is for older signups and hand-built ones.
  • Trust docs. The saved choice is already covered by Organizers have no saved language #626's privacy-page line. Check that its wording also fits a choice made from this notice.

Choices this makes

  • It ships with the launch. Default: in the same release as Signups can't be in Swedish yet #639. The earlier default was to decide afterwards, from the localeSource counts (New signups don't start in their organizer's language #627). Those counts could only confirm, weeks later, that the organizers who prompted the work had been missed.
  • What counts as "probably Swedish". The browser's first language, or the word-list check over the organizer's signups. Default: either one shows the notice.

Order

After #639, in the same release: there's nothing to switch to until sv is in SHIPPED.participant, and the "open signups" offer comes from #639.

Done when

  • Tests cover each rule:
    • the notice shows for a Swedish browser, and for Swedish-looking signups;
    • it doesn't show once a language is saved, or when DEFAULT_LOCALE is set;
    • both buttons save;
    • switching open signups updates their settings.locale.
  • Unit tests cover the guess, including English signups that mustn't trigger it.
  • pnpm lint && pnpm typecheck && pnpm knip && pnpm test and pnpm test:db pass.

Planned with the owner in https://claude.ai/code/session_01EFKmj716ZY3b3SwR8TV8Y2 as step 1.11 of the private plan (https://claude.ai/artifact/VgQH6U2s2EVx3LX991fJi8). Rewritten on 2026-11-12 in https://claude.ai/code/session_016YZ9SVhz9d3599Ys27Jg6t after a review of #619; where this issue and the plan's step 1.11 disagree, this issue is right. Checked against the code at 6629400.

Updated on 13 November 2026: the Swedish line goes through the automated translate-and-review process (#637), not a native reviewer.

Activity

  1. added
    enhancement
    on Oct 25, 2026
  2. added
    pipeline:ux
    on Oct 25, 2026
  3. changed the title [-]Signups made before Swedish shipped stay in English[/-] [+]Signups made before Swedish shipped stay in English, and nothing tells their organizers[/+] on Nov 12, 2026
  4. added
    pipeline:working
    and removed on Nov 14, 2026
  5. self-assigned this
    on Nov 14, 2026
  6. removed
    pipeline:working
    on Nov 14, 2026
  7. added a commit that references this issue on Nov 14, 2026
  8. added
    pipeline:working
    and removed
    pipeline:working
    on Nov 14, 2026
  9. richshaw commented on Nov 14, 2026

    @richshaw
    OwnerAuthor

    Not planned, at the owner's decision on 14 November 2026.

    The language model is now explicit, with no guessing:

    • Each organizer has a stored language. It's set from the browser when the account is created, if OpenSignup has that language, and can be changed in account Settings.
    • Existing organizers follow the site's default language, or English.
    • Each signup has its own language, which starts as its organizer's.

    There'll be no on-screen notice when a language launches. It's announced in the CHANGELOG and release notes, and organizers change their language in account Settings. Account Settings will also have a button to switch their open signups to their language (#639).

    PR #934 (the notice) and #932 (the "looks Swedish" guess it used) are closed without merging.

    https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt


    Generated by Claude Code

  10. removed
    pipeline:ux
    on Nov 14, 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