i18n: system emails follow the community's primary language #2133
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#2133
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). The system emails the gateway sends are English-only templates. A community that founds in Español should receive its system emails in Español. Localising them needs the templates extracted into the i18n catalogue (ADR 0232), like the sign-in page (#2132).Scope
clan.ReadCommunityLanguage), fall back toen.encommunities byte-for-byte unchanged.Acceptance
essends its system emails in Spanish, proved by a render 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. Localise the gateway's system-email templates into the ADR 0232 catalogue (keyed,
enauthoritative, key + params — decisions 2 and 5) and render each in the community's primary language, falling back toen. The templates exist and are English-only today — the alert-email renderer atinternal/notify/notify.go:140(render→Subject:+ body) is one; the agent locates the full set of system emails (member/founding/control-API paths also send mail — e.g.internal/controlapi,internal/kanidm) and brings each through the seam.Why
ready-for-agent. No UI surface and no referenced-but-missing design file, so the missing-design gate does not fire; the seam contract is ADR 0232 (present). This is mechanical extraction + render, provable per the acceptance ("a community founded withessends its system emails in Spanish, proved by a render test") — the sameready-for-agentshape as the sibling Go-seam i18n tickets.encommunities stay byte-for-byte unchanged (acceptance). No one-way-door residue (no credentials, security widening, trust accept, destruction, or spend); 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 and the ticket reopened asready-for-session;docs/i18n/service-language-support.md(Notes) is likewise un-landed. Wired blocked-by #2122 so the swarm cannot pick it up until #2122 closes (same as #2123, #2132).