Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show available languages in dropdown #121

Closed

Conversation

maxgreive
Copy link
Contributor

Fixes #83

Only showing the language dropdown if there are languages for this page available

@maxgreive maxgreive requested a review from a team as a code owner December 20, 2021 07:59
@opatut opatut changed the title only show available languages in dropdown #83 Only show available languages in dropdown Dec 29, 2021
@opatut
Copy link
Member

opatut commented Dec 29, 2021

This leaves a weird empty space on the top right when there is no dropdown.

image

Also, if we remove the language switcher from the top menu, we should at least have links to the root page in its different languages in the footer for example, so people who are linked deep into a German-only page know that parts of the site are available in English, too (and have a way to get there).

@opatut
Copy link
Member

opatut commented Jan 26, 2022

Hi @maxgreive. Are you still interested in pursuing this change? I'd love to see an improvement in the language picking! :)

@opatut opatut closed this Feb 16, 2022
@opatut
Copy link
Member

opatut commented Feb 16, 2022

The attempt is good but needs a bit more work. We can reopen this if anyone wants to take care of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid automatic redirect to homepage when swichting language and page does not exist
2 participants