i18n: the sign-in page follows the community's primary language (idss-idp bridge) #2132
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#2132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The community's primary language is now a community fact (
idss/primary-language, #2122) and the services that have a server-side default (Nextcloud, Omeka) come up in it. The sign-in page the member meets is the idss-idp bridge's own HTML (internal/idp/appdoorpage.go), today hard-coded<html lang="en">with English copy ("… — sign in", "sign in with your twelve words instead", "Back to the control panel", "… — unlock steward actions"). It is IDSS-owned, so it CAN be localised to the community default — but that needs the sign-in strings extracted into the i18n catalogue (ADR 0232) first.Scope
enauthoritative).clan.ReadCommunityLanguage), with the<html lang>attribute set to match; fall back toen.Accept-Languageor explicit choice still wins where that makes sense for a pre-auth page (decide and record).encommunities byte-for-byte unchanged.Acceptance
esserves the sign-in page in Spanish, proved by a render/seam test.Notes
Split from #2122 (the per-service language default). Related: ADR 0232, DDR 0300 decision 6. Per-service support table:
docs/i18n/service-language-support.md.Ruled by agent under ADR 0174 — veto anytime.
Category: enhancement. State:
ready-for-agent(blocked by #2122).Ruling. This localises an existing, IDSS-owned page — the idss-idp bridge sign-in HTML at
internal/idp/appdoorpage.go— in place. The hard-coded English and<html lang="en">are confirmed there: the title… — sign in/… — unlock steward actions(lines 76, 83),sign in with your twelve words instead(line 81),Back to the control panel(line 89),lang="en"(line 112). The work is the ADR 0232 Go-seam shape: extract these strings into the catalogue (keyed,enauthoritative, key + params — ADR 0232 decisions 2 and 5), render them against the community's primary language, set<html lang>to match, fall back toen.Why
ready-for-agent, notneeds-design. The missing-design gate does not fire: no UX flow or wireframe file is referenced that doesn't exist — the page already exists and only its copy changes (layout and flow are untouched), and the i18n seam contract it builds against is ADR 0232 (docs/adr/0232-design-the-i18n-seam.md, present). This is the same shape the sibling Go-seam i18n tickets (#2131, #2129, #2130) carry asready-for-agent.The one judgment residue — a two-way door. Scope item "a member's browser
Accept-Languageor explicit choice still wins where that makes sense for a pre-auth page (decide and record)" is agent-decidable: it is not on the one-way-door list (no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no spend), it is revertible by a later commit, and it is provable by a seam test. The agent records the chosen precedence inline (DDR 0300 d.6 is the home) and proves it. This mirrors #2122's ruling that the per-service "which languages / fallback" questions are investigations, not human decisions.Why it is proved, not just asserted. An existing seam-test home already drives this exact page —
internal/idp/appdoorpage_seam_test.go(WS-S1). The acceptance ("a community founded withesserves the sign-in page in Spanish, proved by a render/seam test") extends that test.encommunities stay byte-for-byte unchanged (acceptance says so). All revertible by commit.Blocked by #2122 (native dependency wired). This reads
clan.ReadCommunityLanguage, which is not onmain— #2122's push-mode close was rolled back (push-rescue-unreachable) and the ticket was reopened asready-for-session;docs/i18n/service-language-support.md(referenced in Notes) is likewise un-landed. The swarm must not pick this up until #2122 closes, so it is wired blocked-by #2122 (same as #2123).