innovark37 opened a new issue, #36403:
URL: https://github.com/apache/superset/issues/36403
### Bug description
Menu's active tab highlighting mechanism fails when Superset's interface
language is set to Russian locale. This occurs because the active tab detection
logic compares hardcoded English strings against localized menu item keys.
**Note:** The highlighting is currently broken for Russian locale, but this
represents a systemic localization issue that affects all non-English
interfaces. Any language where menu item translations don't exactly match the
hardcoded English comparison strings will experience the same problem.
### Steps to reproduce
1. In config.py set the LANGUAGES variables:
```py
LANGUAGES = {
"en": {"flag": "us", "name": "English"},
"ru": {"flag": "ru", "name": "Russian"},
}
```
2. Open the "Dashboards" tab
3. Observe that the "Dashboards" tab in the header is highlighted as active
4. Switch the UI language to Russian language
5. Open the "Dashboards" tab
6. Observe that the "Dashboards" tab in the header is NOT highlighted as
active
### Screenshots/recordings
English (working):
<img width="956" height="432" alt="Image"
src="https://github.com/user-attachments/assets/92d66794-521c-43dc-a576-93279d03136f"
/>
Russian (broken):
<img width="1917" height="876" alt="Image"
src="https://github.com/user-attachments/assets/ea08d55c-af74-4b0b-9500-a4b86a1dddc3"
/>
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]