{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/3008","repository_url":"https://api.github.com/repos/mozilla/testpilot","labels_url":"https://api.github.com/repos/mozilla/testpilot/issues/3008/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/testpilot/issues/3008/comments","events_url":"https://api.github.com/repos/mozilla/testpilot/issues/3008/events","html_url":"https://github.com/mozilla/testpilot/issues/3008","id":270057495,"number":3008,"title":"Move the locale into the URL","user":{"login":"fzzzy","id":46048,"avatar_url":"https://avatars2.githubusercontent.com/u/46048?v=4","gravatar_id":"","url":"https://api.github.com/users/fzzzy","html_url":"https://github.com/fzzzy","followers_url":"https://api.github.com/users/fzzzy/followers","following_url":"https://api.github.com/users/fzzzy/following{/other_user}","gists_url":"https://api.github.com/users/fzzzy/gists{/gist_id}","starred_url":"https://api.github.com/users/fzzzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzzzy/subscriptions","organizations_url":"https://api.github.com/users/fzzzy/orgs","repos_url":"https://api.github.com/users/fzzzy/repos","events_url":"https://api.github.com/users/fzzzy/events{/privacy}","received_events_url":"https://api.github.com/users/fzzzy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla/testpilot/milestones/52","html_url":"https://github.com/mozilla/testpilot/milestone/52","labels_url":"https://api.github.com/repos/mozilla/testpilot/milestones/52/labels","id":2891839,"number":52,"title":"Product Backlog 🍕","description":"Where product ideas live ","creator":{"login":"johngruen","id":3323249,"avatar_url":"https://avatars2.githubusercontent.com/u/3323249?v=4","gravatar_id":"","url":"https://api.github.com/users/johngruen","html_url":"https://github.com/johngruen","followers_url":"https://api.github.com/users/johngruen/followers","following_url":"https://api.github.com/users/johngruen/following{/other_user}","gists_url":"https://api.github.com/users/johngruen/gists{/gist_id}","starred_url":"https://api.github.com/users/johngruen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngruen/subscriptions","organizations_url":"https://api.github.com/users/johngruen/orgs","repos_url":"https://api.github.com/users/johngruen/repos","events_url":"https://api.github.com/users/johngruen/events{/privacy}","received_events_url":"https://api.github.com/users/johngruen/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":11,"state":"open","created_at":"2017-11-06T17:39:37Z","updated_at":"2018-03-05T18:16:28Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-10-31T17:55:37Z","updated_at":"2018-03-05T18:16:28Z","closed_at":"2018-03-05T18:16:28Z","author_association":"COLLABORATOR","body":"Right now, every locale accesses the site at the same urls, `/`, `/experiments`, `/experiment/foo` and translation is done in the browser using fluent-react. If we moved the locale to the beginning of the url, like `/en-US/`, `/en-US/experiments`, '/en-US/experiment/foo`, then the locale will be known at build time, meaning:\r\n\r\n  - Search engines will see all language content\r\n  - We can localize the html content sent in the html body\r\n  - We can localize the <title> element easily\r\n  - We can implement language switching ui easily\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/comments/370512168","html_url":"https://github.com/mozilla/testpilot/issues/3008#issuecomment-370512168","issue_url":"https://api.github.com/repos/mozilla/testpilot/issues/3008","id":370512168,"user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars1.githubusercontent.com/u/23885?v=4","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T18:16:28Z","updated_at":"2018-03-05T18:16:28Z","author_association":"CONTRIBUTOR","body":"This is a big project, and I don't think we should worry about accomplishing it before setting down Test Pilot for a while, so I'm going to close it. I [made a suggestion](https://github.com/mozilla/testpilot/issues/2612#issuecomment-370470127) for a way we can accomplish #2612 without this bug."}}
{"actor":{"display_login":"chuckharmston"}}