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

[Feature request] Supported languages bar #85

Open
alfawal opened this issue Jan 22, 2022 · 3 comments
Open

[Feature request] Supported languages bar #85

alfawal opened this issue Jan 22, 2022 · 3 comments

Comments

@alfawal
Copy link
Contributor

alfawal commented Jan 22, 2022

Accessing the other languages ONLY by typing the language code in the link is a bad idea (hard to discover!), maybe we should add hyperlinks to the other languages in a new sidebar or in the footer below.

@revi
Copy link
Collaborator

revi commented Feb 4, 2022

I pretty like the asshole.fyi approach, but that's up to tulir to decide.

@alfawal
Copy link
Contributor Author

alfawal commented Feb 5, 2022

Actually, I started working on it but got busy, might do it later today.

@tulir
Copy link
Member

tulir commented Feb 20, 2022

A footer with all the languages looks sensible. Having the server redirect the root path based on the Accept-Language header might also be nice, but looks like Caddy 2 doesn't have any convenient existing way to do it, so might need to write a custom plugin to parse the header.

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

No branches or pull requests

3 participants