Skip to content

Bug: German (de) translations contain wrong/empty strings for security menu items #41335

Description

@flwitten

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood first issues for new contributorsi18n:germanTranslation related to German languagereview:checkpointLast PR reviewed during the daily review standup

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions