3 ms·
A good host will redirect to the proper version of the docs when presented with a root URL, but how do you link someone to a specific language, if the Accept-La
by forsaken 13y ago
A good host will redirect to the proper version of the docs when presented with a root URL, but how do you link someone to a specific language, if the Accept-Language is the canonical source for this information?
- RossM 13y agoWouldn't it be better for someone to share a link (potentially in a different language) and the recipient sees it in their own language? That said, language prefixes should still exist, for debugging if nothing else.
- couchand 13y agoWouldn't the use case be just "link to the right spot in the docs" and the user's client requests the appropriate language automagically? That way the link is valid for everyone, and it shows each their preferred language.
- ramchip 13y agoIf I'm reading something in language A which deep links me to some documentation, I think it's quite likely that I want to see it in language A, not language B which happens to be my machine's native language. For example recently I was linked to a Microsoft page via a comment, but it rendered in Japanese, which was a pain to me because I was looking for a specific citation in English. I had to switch language then dig through the site to get back the text the comment author was talking about.
- gnud 13y agoIf sites actually respected accept-language, I think this UI problem would be fixed by browsers in short order (change accept-language and reload)
- jacalata 13y agoNo. I read multiple languages. Maybe my friend wants me to explain something in the docs they are reading - should I need to change my browser language to check it for him? I want to look something up from a university computer where I am studying in France - I can never see the docs in my native language from a public computer? I want to look something up on my friends laptop - it has to be in his preferred language? It is nice to try and help a user, but you should always let them override your language decision.