I18n - Default locale is overridden when English ('en') is added

Really strange problem; I have internationalization enabled and have added 3 languages: Dutch, French and English. When I go to Realm Settings > Theme and set a default locale, that locale is ignored and the language is based on the browser’s language. When I remove ‘en’ (English) from my locales, so that I only have ‘nl’ (Dutch) and ‘fr’ (French), the default locale is not ignored and is correctly set when I go to the login-page. Has someone had this before? Why is this happening?

Thnx!

1 Like

I can confirm that this also exists in Keycloak 24.0.0.
This is not a bug, but a locale logic that keycloak uses.
See: Default locale will be override when English is used · Issue #27520 · keycloak/keycloak · GitHub