Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (30 sloc) 841 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ruby Programming Language</title>
<script type="text/javascript">
var languages = {
"de": "de",
"es": "es",
"id": "id",
"ja": "ja",
"ko": "ko",
"pt": "pt",
"zh-CN": "zh_cn",
"zh-TW": "zh_tw"
};
var code = window.navigator.language || window.navigator.userLanguage || "en";
if (code.substr(0,2) !== "zh") { code = code.substr(0,2); }
var language = languages[code];
if (!language) { language = "en"; }
document.location = "/" + language + "/";
</script>
<noscript>
<meta http-equiv="refresh" content="0; url=/en/">
</noscript>
</head>
<body>
<p><a href="/en/">Click here</a> to be redirected.</p>
</body>
</html>
You can’t perform that action at this time.