You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to enable content negotiation for roadmaps published on GitHub Pages so that e.g. users get the Chinese version when Chinese is their primary language. GitHub Pages use Jekyll under the hoods, so goal is to check whether that can be done in Jekyll.
This may require switching to different naming conventions for HTML files, which we may or may not want to do.
The text was updated successfully, but these errors were encountered:
Not sure what I had in mind when I created that issue but GitHub Pages is a static page hosting service and does not support customer server configuration files, so the only thing that we can hope to achieve for content negotiation would be at the HTML level, e.g. through an <meta http-equiv="refresh"> tag, but more likely through JS (since we want to redirect based on the browser's locale). Jekyll won't help us for that.
In other words, the solution for GitHub Pages would be to have an "empty" generic page that redirects to the right version using JS. I'm not really crazy about introducing that first empty page and about requiring support for JS (we could fallback to redirecting to the English version with a meta tag after a couple of seconds though).
See context in #68 (comment).
It would be good to enable content negotiation for roadmaps published on GitHub Pages so that e.g. users get the Chinese version when Chinese is their primary language. GitHub Pages use Jekyll under the hoods, so goal is to check whether that can be done in Jekyll.
This may require switching to different naming conventions for HTML files, which we may or may not want to do.
The text was updated successfully, but these errors were encountered: