i18n: should the IDIP sign-in page render in the community language? (design ruling) — follow-up of #2122 #2138

Open
opened 2026-11-03 23:18:43 +00:00 by matou-build-agent · 0 comments

Follow-up of #2122. The acceptance named "the sign-in page in Spanish", but the sign-in surfaces have no clean community-default knob:

  • kanidm (the default sign-in): its server config exposes no locale option; the web UI follows the browser locale. A Spanish-browser member already gets a Spanish sign-in. No work needed unless we want to override the browser.
  • IDIP sign-in bridge (internal/idp/brand.go): this is our OWN Go-rendered HTML — hard-coded <html lang="en"> and English page copy. Carrying the community language means templating that HTML (a new seam / string catalogue on the Go side), which is beyond #2122's two-way scope.

Design question for Ben: is browser-locale acceptable for sign-in (close this), or do we want the IDIP bridge sign-in page to render in the community's primary language? If the latter, it needs a Go-side i18n seam for internal/idp (the ADR 0232 decision 5 key+params pattern, or a per-locale page), which is a design + build task.

Context: docs/i18n/service-default-language.md (support table), ADR 0232, DDR 0300.

Follow-up of #2122. The acceptance named "the sign-in page in Spanish", but the sign-in surfaces have no clean community-default knob: - **kanidm** (the default sign-in): its server config exposes no locale option; the web UI follows the browser locale. A Spanish-browser member already gets a Spanish sign-in. No work needed unless we want to override the browser. - **IDIP sign-in bridge** (`internal/idp/brand.go`): this is our OWN Go-rendered HTML — hard-coded `<html lang="en">` and English page copy. Carrying the community language means templating that HTML (a new seam / string catalogue on the Go side), which is beyond #2122's two-way scope. **Design question for Ben:** is browser-locale acceptable for sign-in (close this), or do we want the IDIP bridge sign-in page to render in the community's primary language? If the latter, it needs a Go-side i18n seam for `internal/idp` (the ADR 0232 decision 5 key+params pattern, or a per-locale page), which is a design + build task. Context: `docs/i18n/service-default-language.md` (support table), ADR 0232, DDR 0300.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#2138
No description provided.