Skip to content

Epic: OpenSignup in Swedish, and other languages after it #619

Closed
39 of 39 issues completed
Closed

Description

@richshaw

This tracks the plan for translating OpenSignup, starting with Swedish. Each sub-issue carries its own pipeline:proposed label and needs your OK on its own.

The problem

Everything OpenSignup says is English: the buttons, the sign-up form, error messages, the confirmation and reminder emails, and the dates and times ("Sat, May 3", "6:30 PM"). Organizers are already writing signups in Swedish. That was seen in production; the figures stay out of this public repo. So their participants get Swedish content wrapped in English, on pages that say lang="en", which screen readers and browser translation trust.

How language works in this plan

  • The organizer has a language, saved on their account. It's set once, when the account is created: if the operator set a site language (DEFAULT_LOCALE), the account follows it; otherwise it's their browser's language, if OpenSignup has it. Accounts with nothing saved follow the site language, else English. They change it in account Settings. Once the organizer side is translated, it's the app's language too.
  • A new signup starts in its organizer's language. There's nothing to pick when creating one; an organizer changes a signup's language in its Settings tab.
  • Participants see the signup's language, on its pages and in every email.
  • AI drafts are written in the description's language, but the signup takes its organizer's language, like any other new signup (A signup drafted by Magic Compose can start in a different language from its draft #635).
  • A new language is announced in the CHANGELOG and release notes, with no notice on screen (Signups made before Swedish shipped stay in English, and nothing tells their organizers #640, not planned). Account Settings has a button to switch an organizer's open signups to their language (Signups can't be in Swedish yet #639).
  • Nothing is guessed out of sight. Every language the app uses is a stored setting the organizer can see and change.
  • A language can be chosen only when its translation is complete for that audience and has passed the automated checks and an independent AI review in context (There's no guide for translating OpenSignup, and no Swedish glossary #637). There are no human translators.

Technical choices

  • next-intl 4.x, pinned, with its core (use-intl/core) for server code, emails and the worker. Its client runtime measured 11.6 KB gzipped, or 2.8 KB with its precompile option. For comparison: Lingui 3.4 KB, react-intl 14.9 KB, i18next 17.2 KB.
  • ICU messages in src/messages/*.json.
  • Three root layouts, so a signup's pages can say lang="sv" while help and legal stay static. This was spiked on Next 15.5.27 in Chromium.
  • Storage. The signup's language lives in its settings (no migration); the organizer's is a new column.

Order

Phase 0, groundwork, with no visible change. #620 comes first; #621 and #622 can be built alongside it.

Phase 1, participants in Swedish. The language reaches the pages before the text does, and Swedish can be chosen only at the end (#639).

Phase 2, the organizer's screens in their language. The owner made this the priority on 14 November 2026, and building it alongside phase 1 was asked for in https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt. A language is switched on for the organizer's screens and for signups together, in #639's launch PR at the end of this phase.

Later, filed once phase 1 has landed:

Not in this plan

Open questions

  1. Who reviews the Swedish translation? Answered by the owner on 13 November 2026: nobody can be paid to, for this or any later language. Translating and reviewing are automated (There's no guide for translating OpenSignup, and no Swedish glossary #637).
  2. Should opensignup.org's privacy policy and terms be translated, and which version would be binding?
  3. Which languages come after Swedish? (A signup drafted by Magic Compose can start in a different language from its draft #635 can count the languages organizers already write in.)

The plan

The full plan is private to the owner's account: https://claude.ai/artifact/VgQH6U2s2EVx3LX991fJi8. Its decisions, risks and step-by-step detail are there, and a Claude session on that account can open it with the Artifact tool's read action. Two Fable reviewers went over it in seven rounds against the code. Checked against main at 35288fa.

Planned in https://claude.ai/code/session_01EFKmj716ZY3b3SwR8TV8Y2

Revised 12 November 2026

After a review of the approach in https://claude.ai/code/session_016YZ9SVhz9d3599Ys27Jg6t:

Revised 13 November 2026

Checked against main at 4f67fd4. Nothing in this plan has been built yet. Each change below is also noted at the foot of the issue it touches.

Later the same day, from the owner:

Revised 14 November 2026

From the owner, after reviewing the PRs built so far: the aim is OpenSignup in any language, not Swedish in particular, and nothing guessed where people can't see it.

Revised 15 November 2026

From the owner on 14 and 15 November 2026, with phase 2 made the priority. The aim: an organizer who sets their language gets OpenSignup in it, on their own screens and on their signups' pages.

  • The organizer's screens follow their stored language, the one set in account Settings. That setting is relabelled for both its uses, the app and new signups (The organizer app ignores the organizer's language #937).
  • Signups keep their own language setting, in each signup's Settings tab, starting as the organizer's.
  • The pickers live only in the settings pages: account Settings and a signup's Settings tab. There's no launch notice and no prompt.
  • One launch PR switches a language on for both halves, at the end of phase 2 (Signups can't be in Swedish yet #639). It adds the language to SHIPPED.participant and SHIPPED.organizer at once; the two lists stay separate.
  • Before sign-in, the site's language. The sign-in, check and confirm pages and the OAuth error pages use the site's DEFAULT_LOCALE, else English, with nothing guessed from the browser. OAuth consent uses the organizer's language, since they're signed in by then.
  • The sign-in email uses the language stored on the account at that address, else the site default. It's looked up only after the rate limit (The sign-in email is English-only #949).
  • Budgets. Each organizer page that gains translated client text may grow by up to 3.5 KB of JavaScript, once. It's measured, and the budget is set to the real figure. A PR that raises a budget still goes to the owner.
  • Refusals carry reason codes, and each organizer screen words them from the catalog. The English reads as it does today, and the API's message stays English (Organizer screens show the server's English when a save is refused #939).
  • The size: about 600 organizer messages move to the catalog in phase 2.

https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt

Sub-issues

Sub-issues

39 of 39 Issues completed
Loading 39 sub-issues

Activity

  1. added
    enhancement
    on Oct 25, 2026
  2. 11 remaining items

  3. richshaw commented on Nov 17, 2026

    @richshaw
    OwnerAuthor

    Closing: phases 0 to 2 are done, and Swedish has shipped. #1019 switched Swedish on for organizers and participants on 17 November 2026. 38 of the 39 sub-issues are closed.

    https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions