{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust-www/issues/619","repository_url":"https://api.github.com/repos/rust-lang/rust-www","labels_url":"https://api.github.com/repos/rust-lang/rust-www/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-www/issues/619/comments","events_url":"https://api.github.com/repos/rust-lang/rust-www/issues/619/events","html_url":"https://github.com/rust-lang/rust-www/issues/619","id":189820269,"number":619,"title":"Links in English version do not specify en-US which prevents user from switching to English from other language","user":{"login":"yeputons","id":1297325,"avatar_url":"https://avatars.githubusercontent.com/u/1297325?v=3","gravatar_id":"","url":"https://api.github.com/users/yeputons","html_url":"https://github.com/yeputons","followers_url":"https://api.github.com/users/yeputons/followers","following_url":"https://api.github.com/users/yeputons/following{/other_user}","gists_url":"https://api.github.com/users/yeputons/gists{/gist_id}","starred_url":"https://api.github.com/users/yeputons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeputons/subscriptions","organizations_url":"https://api.github.com/users/yeputons/orgs","repos_url":"https://api.github.com/users/yeputons/repos","events_url":"https://api.github.com/users/yeputons/events{/privacy}","received_events_url":"https://api.github.com/users/yeputons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T19:40:09Z","updated_at":"2016-11-16T21:39:44Z","closed_at":null,"body":"Strictly speaking, the following happens:\r\n1. I navigate to <a href=\"https://www.rust-lang.org\">www.rust-lang.org</a> and get instantly redirected to <a href=\"https://www.rust-lang.org/ru-RU/\">www.rust-lang.org/ru-RU</a> (probably because my browser knows my default language).\r\n2. I click on \"English\" in the footer, it takes me to <a href=\"https://www.rust-lang.org/en-US/\">www.rust-lang.org/en-US/</a>, which is displayed in English.\r\n3. But if I then click on \"Documentation\" in the English version, it takes me to <a href=\"https://www.rust-lang.org/documentation.html\">www.rust-lang.org/documentation.html</a>, and from there I get instantly redirected to the Russian version: <a href=\"https://www.rust-lang.org/ru-RU/documentation.html\">www.rust-lang.org/ru-RU/documentation.html</a>.\r\n4. If I manually change `ru-RU` to `en-US` in the link, I see English version of documentation. However, all header links from <a href=\"https://www.rust-lang.org/en-US/documentation.html\">www.rust-lang.org/en-US/documentation.html</a> still do not include `en-US` in the URL.\r\n\r\nI believe this issue is slightly related to #618 ."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust-www/issues/comments/261080680","html_url":"https://github.com/rust-lang/rust-www/issues/619#issuecomment-261080680","issue_url":"https://api.github.com/repos/rust-lang/rust-www/issues/619","id":261080680,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T21:39:44Z","updated_at":"2016-11-16T21:39:44Z","body":"Yeah this is a hard problem...."}}
{"actor":{"display_login":"steveklabnik"}}