element-hq / element-hq/synapse

[FEATURE] Use OIDC standard user claim member "locale" within the SSO flow and to set the user's default language

Open
#11,709 0 comments 0 reactions 0 assignees View on GitHub
P5 T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#11709](https://github.com/matrix-org/synapse/issues/11709).

---

Use OIDC standard user claim member `locale` ( [ISO639‑1] language code, e.g. en-EN; see https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) ...

1. to choose the user's language within the SSO flow (affected template: `synapse/res/templates/sso_redirect_confirm.html`) and
2. to set the user's default language for matrix clients (e.g. Element Web).

Currently, ...

1. the SSO redirect template uses `en-EN` only and
2. the language is chosen on the basis of the browser language.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.