{"action":"created","issue":{"url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/46","repository_url":"https://api.github.com/repos/LUKKIEN/wagtailtrans","labels_url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/46/comments","events_url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/46/events","html_url":"https://github.com/LUKKIEN/wagtailtrans/pull/46","id":195811728,"number":46,"title":"Create TranslationMiddleware for earlier language activation","user":{"login":"mikedingjan","id":1440264,"avatar_url":"https://avatars.githubusercontent.com/u/1440264?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedingjan","html_url":"https://github.com/mikedingjan","followers_url":"https://api.github.com/users/mikedingjan/followers","following_url":"https://api.github.com/users/mikedingjan/following{/other_user}","gists_url":"https://api.github.com/users/mikedingjan/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedingjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedingjan/subscriptions","organizations_url":"https://api.github.com/users/mikedingjan/orgs","repos_url":"https://api.github.com/users/mikedingjan/repos","events_url":"https://api.github.com/users/mikedingjan/events{/privacy}","received_events_url":"https://api.github.com/users/mikedingjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-12-15T13:57:10Z","updated_at":"2016-12-19T08:46:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/pulls/46","html_url":"https://github.com/LUKKIEN/wagtailtrans/pull/46","diff_url":"https://github.com/LUKKIEN/wagtailtrans/pull/46.diff","patch_url":"https://github.com/LUKKIEN/wagtailtrans/pull/46.patch"},"body":"When hitting a 404 / error page, the language isn’t activated, this middleware ensures that the a language is activated, ideally from the URL path with fallback to default language / settings defined language.\r\n\r\nThis middleware replaces django LocalMiddleware"},"comment":{"url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/comments/267910996","html_url":"https://github.com/LUKKIEN/wagtailtrans/pull/46#issuecomment-267910996","issue_url":"https://api.github.com/repos/LUKKIEN/wagtailtrans/issues/46","id":267910996,"user":{"login":"jjanssen","id":287422,"avatar_url":"https://avatars.githubusercontent.com/u/287422?v=3","gravatar_id":"","url":"https://api.github.com/users/jjanssen","html_url":"https://github.com/jjanssen","followers_url":"https://api.github.com/users/jjanssen/followers","following_url":"https://api.github.com/users/jjanssen/following{/other_user}","gists_url":"https://api.github.com/users/jjanssen/gists{/gist_id}","starred_url":"https://api.github.com/users/jjanssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjanssen/subscriptions","organizations_url":"https://api.github.com/users/jjanssen/orgs","repos_url":"https://api.github.com/users/jjanssen/repos","events_url":"https://api.github.com/users/jjanssen/events{/privacy}","received_events_url":"https://api.github.com/users/jjanssen/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T08:46:12Z","updated_at":"2016-12-19T08:46:12Z","body":"That is a feasible use-case! I agree that it is not a part of the PR, but I was wondering if we took that point of activating the language. in consideration"}}
{"actor":{"display_login":"jjanssen"}}