question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid language tag error when changing realm localization settings

See original GitHub issue

Area

admin/ui

Describe the bug

Hi,

When I select a realm from the drop down list that is not the master realm, and then go to Realm Settings and click on the Localization tab, the following error message appears:

Invalid language tag: ""
Press here to refresh and continue

This doesn’t happen for the master realm, only for other realms.

Regards, Rik

Version

20.0.1

Expected behavior

The realm tab opens similar to when the tab is opened for the master realm.

Actual behavior

The following error is displayed:

Invalid language tag: ""
Press here to refresh and continue

How to Reproduce?

Select non-master realm Go to Realm Settings Click the Localization tab

Anything else?

If I create a new realm, I can not reproduce the issue. I can only reproduce it for an existing non-master realm. The realm was created on an older version of keycloak (I believe 15 or even older).

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edewitcommented, Dec 7, 2022

ahh, I see what is going on, there is a call where the locale is "" creating a fix now

1reaction
biliascommented, Dec 5, 2022

I’m also having this on 20.0.1 on all realms, including master.

Maybe it has to do with a custom theme?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Invalid language tag · Issue #217 · moment/luxon - GitHub
I am using Luxon in a nodejs project, developing firebase functions. The code looks something like this: const lyxonFromJsDate = luxon.
Read more >
Lightning dashboards - Users without a country in their locale ...
Lightning dashboards - Users without a country in their locale receive "Invalid language tag" error when opening dashboards.
Read more >
[REALMS-474] Unable to upload / replace world on realm - Jira
I can't access ANY saved worlds from PC Bedrock when signed in as same Gamer Tag,. In the case of the Realm load...
Read more >
Uncaught (in promise) RangeError: Invalid language tag
Issue seems to be with arcgis' use of dojo.js library. I'm not seeing docs on how to set dojo config in context of...
Read more >
[keycloak-user] Login UI locale reverting to browser's on ...
To make sure I tested with the default login theme, I had a custom login theme and had set "display: none" to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found