Serve the public pages in Spanish, starting with /get (relay#47) #154

Merged
paulhitt merged 1 commits from feat/spanish-public-pages into main 2026-09-08 12:05:14 +00:00
paulhitt commented 2026-09-08 01:01:08 +00:00 (Migrated from gitlab.com)

Six of the seven countries where sign-up is open are Spanish-speaking, and /get explained the geo restriction in English to exactly those people.

The mechanism is the durable part: a page becomes bilingual the moment es/<slug>.leaf exists — route, hreflang pair and sitemap entry are all derived from that, so nothing can advertise a page that 404s. spec is excluded by hand.

Overlaps flamenet-relay!87. Both add fields to ReleasesContext's hand-written encoder. Merge !87 first and this will need a small rebase.

Four traps found only by serving it — the dotted template name 500ing, #if treating an empty string as true, the shared layout leaving the nav English, and Leaf double-escaping &nbsp;. Details in the commit.

Worth a native-speaker read before this is linked from the nav. The routes are live but nothing links to /es yet, which is deliberate.

Six of the seven countries where sign-up is open are Spanish-speaking, and /get explained the geo restriction in English to exactly those people. The mechanism is the durable part: a page becomes bilingual the moment `es/<slug>.leaf` exists — route, hreflang pair and sitemap entry are all derived from that, so nothing can advertise a page that 404s. `spec` is excluded by hand. **Overlaps flamenet-relay!87.** Both add fields to `ReleasesContext`'s hand-written encoder. Merge !87 first and this will need a small rebase. Four traps found only by serving it — the dotted template name 500ing, `#if` treating an empty string as true, the shared layout leaving the nav English, and Leaf double-escaping `&nbsp;`. Details in the commit. **Worth a native-speaker read before this is linked from the nav.** The routes are live but nothing links to /es yet, which is deliberate.
paulhitt commented 2026-09-08 12:03:24 +00:00 (Migrated from gitlab.com)

added 13 commits

  • df11cd50...50afaa5e - 12 commits from branch main
  • 419fc9e7 - Serve the public pages in Spanish, starting with /get (relay#47)

Compare with previous version

added 13 commits <ul><li>df11cd50...50afaa5e - 12 commits from branch <code>main</code></li><li>419fc9e7 - Serve the public pages in Spanish, starting with /get (relay#47)</li></ul> [Compare with previous version](/paulhitt/flamenet-relay/-/merge_requests/91/diffs?diff_id=2011286637&start_sha=df11cd50494c81535c418ad41cffbcbe27cb9cc3)
paulhitt commented 2026-09-08 12:05:15 +00:00 (Migrated from gitlab.com)

mentioned in commit b78f7f0a14

mentioned in commit b78f7f0a14949b8fbf337f5034845f14ba2b95fe
paulhitt (Migrated from gitlab.com) merged commit b78f7f0a14 into main 2026-09-08 12:05:15 +00:00
paulhitt commented 2026-09-08 15:02:29 +00:00 (Migrated from gitlab.com)

mentioned in issue #48

mentioned in issue #48
paulhitt commented 2026-09-08 17:13:16 +00:00 (Migrated from gitlab.com)

mentioned in issue #6

mentioned in issue #6
paulhitt commented 2026-09-09 18:58:43 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
Sign in to join this conversation.