flwitten opened a new issue, #41335:
URL: https://github.com/apache/superset/issues/41335
### Bug description
## Bug: German (de) translations contain wrong/empty strings for security
menu items
**Superset version:** 6.1
**Component:** i18n / Translations (German)
### Description
Several German translation entries in
`superset/translations/de/LC_MESSAGES/messages.po` are incorrect or empty,
causing wrong labels to appear in the UI when `BABEL_DEFAULT_LOCALE = "de"`.
| `msgid` | current `msgstr` | correct `msgstr` |
|---------|-----------------|-----------------|
| `List Users` | `Zahl aufteilen` | `Benutzer auflisten` |
| `List Groups` | `Zahl aufteilen` | `Gruppen auflisten` |
| `List Roles` | *(empty)* | `Rollen auflisten` |
| `Themes` | `Zeit` | `Themes` |
The string `"Zahl aufteilen"` means "Split number" in German and is
clearly a copy-paste error from an unrelated translation entry.
### Steps to reproduce
1. Deploy Superset with `BABEL_DEFAULT_LOCALE = "de"` (or browser language
`de`)
2. Navigate to **Settings → Security**
3. Observe the menu items "List Users", "List Groups", "List Roles"
### Expected behavior
Correct German labels are shown for the security menu items.
### Actual behavior
"Zahl aufteilen" ("Split number") is shown instead of the correct
translations.
"List Roles" falls back to the English label because `msgstr` is empty.
"Themes" shows "Zeit" ("Time") instead.
### Fix
Correct the `msgstr` values in
`superset/translations/de/LC_MESSAGES/messages.po`:
```po
msgid "List Users"
msgstr "Benutzer auflisten"
msgid "List Groups"
msgstr "Gruppen auflisten"
msgid "List Roles"
msgstr "Rollen auflisten"
msgid "Themes"
msgstr "Themes"
### Screenshots/recordings
_No response_
### Superset version
6.1.0
### Python version
3.11
### 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.
- [x] 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]