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
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
Assessment
This issue has not been assessed yet.