Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2997

Account console: defaultLocale item in select locale field [GHI#39187]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      account/ui

      Describe the bug

      Since the 26.2.0 version, when I'm logged in as a regular user in a realm with localization activated, there is this "defaultLocale" item in the select a locale drop box (account console):

      <img width="1406" alt="Image" src="https://github.com/user-attachments/assets/0236c6c1-4920-49c1-ada5-c7970fbb74b5" />

      Were there any changes for the locale management?

      For the record, I'm using a custom login theme and in the user registration screen, there is a new field that popped up, named "locale". I'm not sure it is related, but maybe it's worth mentioning.

      Version

      26.2.1

      Regression

      [x] The issue is a regression

      Expected behavior

      the select a locale drop box should contain only the realm's declared locales

      Actual behavior

      The select a locale dropbox contains an extra item that should not be there, "defaultLocale"

      How to Reproduce?

      Create a realm with localization activated and several supported languages.
      Try to log in and display the account console.

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: