Hoe krijg ik bepaalde headerfuncties ook te zien wanneer ik ben ingelogd

AI-generated summary

The discussion is about displaying the translation button in the header when a user is logged in. joshhabka wants the “Translate” button to appear in the header for logged-in users, similar to when they are logged out. nat explains that logged-in users can change their language preferences from the user profile page at /my/preferences/interface. joshhabka asks why the button appears when logged out and if there’s a workaround to display it when logged in. nat replies that the button appears for logged-out users because they don’t have a user preference page. Moin provides a link to a header locale selector as a potential solution. joshhabka finds this solution suitable and plans to fork and modify it to fit their needs.

It shows the translation buttons when logged, out - I also want it to show the Translate button when logged in on the header.

Logged Out Image:

Logged-in Image:

Hey there, currently when a user is logged in, they will have to change their language preferences from the user profile at /my/preferences/interface.

Do you know why it shows the nice button on the header when logged out though? Is there some workaround to make that button show when logged-in or another way to make it more obvious that someone could go to /my/preferences/interface to switch languages?

Cheers and thank you!

Because users who are not logged in do not have a “user preference” page :sweat_smile:

Typically we have seen communities do so via a banner, or an introductory topic about the community.

There is Header Locale Selector

Yes! This is perfect - I will fork it from Github and make it more compact but yes thank youuu!