Open alfawal opened 2 years ago
I pretty like the asshole.fyi approach, but that's up to tulir to decide.
Actually, I started working on it but got busy, might do it later today.
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.
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.