Backend: User-Locale bei KC-User-Create setzen (locale=de) #213
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner#213
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?
Problem: Eingeladene User erhalten die Einladungs-E-Mail auf Englisch, obwohl wir deutsche Templates (
messages_de.properties) bereitstellen. Keycloak fallbackt aufen, weil weder Realm-i18n aktiviert noch eine User-Locale gesetzt ist.Teil 1: Realm-i18n aktivieren (keycloak-provision.ts) ✅ Bereits erledigt in Commit
9a76d6eb1c(refs #203)REALM_DEFAULTSenthaelt:Teil 2: User-Locale beim KC-User-Create setzen — Noch offen
backend/src/routes/persons.ts(Z. 514-523): Beim User-Create im invite-Endpunktattributes: { locale: ['de'] }mitgebenbackend/src/lib/keycloak-provision.ts(Z. 300-309): InensureUser()fuers Dev-Seed ebenfallsattributes: { locale: ['de'] }setzenMilestone: MS-REST (#32)
Labels: component/backend, prio/medium, type/feature