-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language Selection doesn't always switch language #23456
Comments
This might be less straightforward than stated above. I also see some slightly different (but still buggy) behaviors in addition to that described above.
|
We encountered the same problem. Changing the language works fine in versions 2.0.0 and 2.0.1, but it doesn't work as expected in version 2.1.0rc3. |
We have the same issue. That's why we don't update to the latest version |
this bug is still actual |
same issue in 2.1.1rc1 |
Thank you for reporting this. We'll find someone to take a look, unless anyone else wants to open a PR for it. |
still happening in 2.1.1rc2 |
I believe this was resolved by the linked PR, but the issue was never closed. Closing now, bu happy to revisit if needed. |
yes, it's still with this |
@AghastyGD in which version of Superset? I was able to switch languages no problem on current |
@rusackas I am using the version 4.0.1 from PyPi Package, when I change to Brazilian the screen goes into blank with an infinite loading of superset logo But it's working well in another languages like Portuguese Portugal |
Weird... I'm on |
now I'm on master but this bug is still actual, |
Language Selection doesn't always switch language
How to reproduce the bug
LANGUAGES
set in config. I'm usingLANGUAGES={"en": {"flag": "us", "name": "English"}, "pt_BR": {"flag": "br", "name": "Português"}, "es": {"flag": "mx", "name": "Español"}, "fr": {"flag": "fr", "name": "Français"}, "nl": {"flag": "sr", "name": "Nederlands"}}
Expected results
The page flash to refresh is fine. But afterward it should show in the language I just clicked on.
Actual results
Sometimes you are still seeing the old language after having clicked a different one. Specifically
Screenshots
Environment
I did not see this bug when running from the docker image
apache/superset:2.0.1
I do see this bug running from the docker image
apache/superset:2.1.0rc3
.Superset 2.1.0
Python 3.8.16
Checklist
Make sure to follow these steps before submitting your issue - thank you!
/lang/nl
(or whatever language code) route and other routes needed for the current page./lang/nl
route returns a 302 redirect withLocation: /
The text was updated successfully, but these errors were encountered: