The discussion revolves around enhancing the language switcher feature in Discourse to allow administrators to display the header language switcher for logged-in users, not just anonymous ones. Currently, the content localization anon language switcher setting restricts the switcher to non-logged-in users. The proposed changes include renaming the setting to remove “anon,” expanding options to include “none,” “anonymous,” and “all,” and updating the language selection for logged-in users to use user.locale instead of cookies. The feature has been implemented and merged via PR #34578, with a video demonstrating the updated behavior. There is also consideration to phase out the language selector in /my/preferences/interface in favor of the header switcher for a more cohesive user experience. nat and Jagster briefly comment on the implementation and its implications.
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.