title: Why are kc_locale and UI lang switch not working?
body: <p>A <code>test-web</code> application links to the keycloak reset-credentials page:</p>
  <pre><code>http://localhost:9990/auth/realms/test/login-actions/reset-credentials?client_id=test-web&amp;kc_locale=en
  </code></pre>
  <p>We use the default <code>keycloak</code> theme and run on the Keycloak docker image <code>11.0.2</code>.</p>
  <p>The UI works fine, but the <code>kc_locale</code> is not respected and also the UI language switch on the keycloak page does not work. The UI switch does update the <code>kc_locale</code> in the URL but the UI keeps showing the same language. There are 2 languages configured for the realm (<code>de</code> and <code>en</code>). No matter which of them I set as default, the UI always shows <code>de</code>.</p>
  <p>In the account console the language switch as well as the <code>kc_locale</code> both actually change the language. But on the reset-credentials page it is not working.</p>
  <p>After following the link of the email to the update-password page, on this page the UI switch and <code>kc_locale</code> work fine.</p>
  <pre><code>http://localhost:9990/auth/realms/test/login-actions/required-action?execution=UPDATE_PASSWORD&amp;client_id=test-web&amp;tab_id=fZIAUd_jiPc
  </code></pre>
  <p>After changing the language via the Account Console or on the update-password page, the reset-credentials page also shows the newly selected language, but the lang-switch on the page itself does not work.</p>
  <p>What could be the reason for it?</p>