maunium / dontasktoask.com

An informational website about why you should ask questions directly instead of asking to ask
https://dontasktoask.com
MIT License
432 stars 97 forks source link

[Feature request] Supported languages bar #85

Open alfawal opened 2 years ago

alfawal commented 2 years ago

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 commented 2 years ago

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

alfawal commented 2 years ago

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

tulir commented 2 years ago

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.