{"action":"created","issue":{"url":"https://api.github.com/repos/mcamara/laravel-localization/issues/372","repository_url":"https://api.github.com/repos/mcamara/laravel-localization","labels_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/372/comments","events_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/372/events","html_url":"https://github.com/mcamara/laravel-localization/issues/372","id":187278331,"number":372,"title":"when 'hideDefaultLocaleInURL' => true ,  error session","user":{"login":"congkevin","id":23255946,"avatar_url":"https://avatars.githubusercontent.com/u/23255946?v=3","gravatar_id":"","url":"https://api.github.com/users/congkevin","html_url":"https://github.com/congkevin","followers_url":"https://api.github.com/users/congkevin/followers","following_url":"https://api.github.com/users/congkevin/following{/other_user}","gists_url":"https://api.github.com/users/congkevin/gists{/gist_id}","starred_url":"https://api.github.com/users/congkevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congkevin/subscriptions","organizations_url":"https://api.github.com/users/congkevin/orgs","repos_url":"https://api.github.com/users/congkevin/repos","events_url":"https://api.github.com/users/congkevin/events{/privacy}","received_events_url":"https://api.github.com/users/congkevin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-04T08:35:24Z","updated_at":"2016-11-07T15:03:26Z","closed_at":null,"body":"I want to make my basic language shows without /language\r\neg. http://domain.com  -> not http://domain.com/en\r\nso i made 'hideDefaultLocaleInURL' => true\r\n\r\nIt worked indeed. My basic language shows become http://domain.com\r\nThen I click link to indonesian langauge so url became http://domain.com/id\r\nHowever, when I click back to default language, it didnt want to return into default language.\r\n\r\nCan anybody solve this bug?\r\n"},"comment":{"url":"https://api.github.com/repos/mcamara/laravel-localization/issues/comments/258859101","html_url":"https://github.com/mcamara/laravel-localization/issues/372#issuecomment-258859101","issue_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/372","id":258859101,"user":{"login":"itsmattm","id":2324791,"avatar_url":"https://avatars.githubusercontent.com/u/2324791?v=3","gravatar_id":"","url":"https://api.github.com/users/itsmattm","html_url":"https://github.com/itsmattm","followers_url":"https://api.github.com/users/itsmattm/followers","following_url":"https://api.github.com/users/itsmattm/following{/other_user}","gists_url":"https://api.github.com/users/itsmattm/gists{/gist_id}","starred_url":"https://api.github.com/users/itsmattm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsmattm/subscriptions","organizations_url":"https://api.github.com/users/itsmattm/orgs","repos_url":"https://api.github.com/users/itsmattm/repos","events_url":"https://api.github.com/users/itsmattm/events{/privacy}","received_events_url":"https://api.github.com/users/itsmattm/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T15:03:26Z","updated_at":"2016-11-07T15:03:26Z","body":"Yes, I guess this behavior is intentional. Otherwise, your user's preferred language would be set to English every time they hit your home page. (I guess almost everybody likes enter a site on the home page and then get redirected to the preferred language)\r\n\r\nTo switch back to en, try inputting `http://your-domain.com/en`, just to switch the language. You should be redirected to `http://your-domain.com/` then. "}}
{"actor":{"display_login":"itsmattm"}}