Admins die Option geben, die Sprachumschaltung in der Kopfzeile auch für angemeldete Benutzer anzuzeigen

Currently, the site setting content localization anon language switcher is a toggle to show the language switcher only for non-logged-in users.

Screenshots 📸

The Setting

The Switcher

There have been some requests to expand this to allow logged-in users to set the language from the header as well.

The work here would involve

  • updating the setting name to exclude “anon”
  • expanding the setting to “none”, “anonymous”, “all”

  • the anon language is tracked via cookies, switching the language in logged-in should update the user.locale instead of cookies

By completing this, we should also update related topics (e.g. Header Locale Selector) that this is now possible in core.

10 „Gefällt mir“

This is now done and merged - FEATURE: Also allow language switcher to be shown when users are logged in by nattsw · Pull Request #34578 · discourse/discourse · GitHub.

Here’s the video that was included in the PR description showing how it should behave.

Something we may consider is perhaps to retire the one shown in /my/preferences/interface in favour of this one for a better experience where the site owner may choose the available languages for the site. We’ll have a few discussions internally first.

9 „Gefällt mir“

That video shows same time why AI-summaries should be translated too :joy:

1 „Gefällt mir“

I hear you.. All in due time.

5 „Gefällt mir“

This topic was automatically closed after 2 days. New replies are no longer allowed.