Description
In the Admin UI, the language selector is displayed even though the project is configured with only one available language.
The project configuration contains:
conf.i18n.available_languages = ["de"]
conf.i18n.default_language = "de"
Despite this, the language menu still shows both German and English.
Project-specific names have been anonymized.
Expected Behavior
If only one language is configured, the Admin UI should either:
- hide the language selector automatically, or
- provide a configuration option to disable/hide it.
The selector should only show languages that are actually configured as available.
Observed Behavior
The language selector still appears and lists multiple languages, including English, although only German is configured via conf.i18n.available_languages.
Open Question
Where does the Admin UI currently retrieve the list of available languages from?
The configured values in main.py do not appear to be the only source of truth:
conf.i18n.available_languages = ["de"]
conf.i18n.default_language = "de"
Acceptance Criteria
- The language selector only displays configured available languages.
- If exactly one language is available, the selector is hidden or can be disabled via configuration.
conf.i18n.available_languages is respected by the Admin UI.
- No fallback language such as English is shown unless explicitly configured.
Description
In the Admin UI, the language selector is displayed even though the project is configured with only one available language.
The project configuration contains:
Despite this, the language menu still shows both German and English.
Project-specific names have been anonymized.
Expected Behavior
If only one language is configured, the Admin UI should either:
The selector should only show languages that are actually configured as available.
Observed Behavior
The language selector still appears and lists multiple languages, including English, although only German is configured via
conf.i18n.available_languages.Open Question
Where does the Admin UI currently retrieve the list of available languages from?
The configured values in
main.pydo not appear to be the only source of truth:Acceptance Criteria
conf.i18n.available_languagesis respected by the Admin UI.