{"action":"created","issue":{"url":"https://api.github.com/repos/rainlab/translate-plugin/issues/317","repository_url":"https://api.github.com/repos/rainlab/translate-plugin","labels_url":"https://api.github.com/repos/rainlab/translate-plugin/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/rainlab/translate-plugin/issues/317/comments","events_url":"https://api.github.com/repos/rainlab/translate-plugin/issues/317/events","html_url":"https://github.com/rainlab/translate-plugin/pull/317","id":270709897,"number":317,"title":"Adding the possibility to skip session retrieval","user":{"login":"vannut","id":7419859,"avatar_url":"https://avatars3.githubusercontent.com/u/7419859?v=4","gravatar_id":"","url":"https://api.github.com/users/vannut","html_url":"https://github.com/vannut","followers_url":"https://api.github.com/users/vannut/followers","following_url":"https://api.github.com/users/vannut/following{/other_user}","gists_url":"https://api.github.com/users/vannut/gists{/gist_id}","starred_url":"https://api.github.com/users/vannut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vannut/subscriptions","organizations_url":"https://api.github.com/users/vannut/orgs","repos_url":"https://api.github.com/users/vannut/repos","events_url":"https://api.github.com/users/vannut/events{/privacy}","received_events_url":"https://api.github.com/users/vannut/received_events","type":"User","site_admin":false},"labels":[{"id":409090972,"url":"https://api.github.com/repos/rainlab/translate-plugin/labels/Status:%20Revision%20Needed","name":"Status: Revision Needed","color":"E11D21","default":false},{"id":409090978,"url":"https://api.github.com/repos/rainlab/translate-plugin/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"84B6EB","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-02T16:01:47Z","updated_at":"2017-11-03T08:13:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rainlab/translate-plugin/pulls/317","html_url":"https://github.com/rainlab/translate-plugin/pull/317","diff_url":"https://github.com/rainlab/translate-plugin/pull/317.diff","patch_url":"https://github.com/rainlab/translate-plugin/pull/317.patch"},"body":"As discussed in #315 this is a solution to add a setting which skips the retrieval of the locale from the session. \r\nBy the default the behaviour of the plugin is not changed; when visiting the `domain.tld/` route it wil display the __last loaded__ locale. \r\nSetting `skipSession = true` will disable this and keep the locale on the default locale. Result is a SEO friendly domain-structure; where every locale has one, and only one unique url-path.  \r\n\r\nTo activate this add an entry in `/config/cms.php`\r\n```php\r\n...\r\n'translate' => [\r\n    'skipSession' => true\r\n]\r\n...\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rainlab/translate-plugin/issues/comments/341642153","html_url":"https://github.com/rainlab/translate-plugin/pull/317#issuecomment-341642153","issue_url":"https://api.github.com/repos/rainlab/translate-plugin/issues/317","id":341642153,"user":{"login":"vannut","id":7419859,"avatar_url":"https://avatars3.githubusercontent.com/u/7419859?v=4","gravatar_id":"","url":"https://api.github.com/users/vannut","html_url":"https://github.com/vannut","followers_url":"https://api.github.com/users/vannut/followers","following_url":"https://api.github.com/users/vannut/following{/other_user}","gists_url":"https://api.github.com/users/vannut/gists{/gist_id}","starred_url":"https://api.github.com/users/vannut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vannut/subscriptions","organizations_url":"https://api.github.com/users/vannut/orgs","repos_url":"https://api.github.com/users/vannut/repos","events_url":"https://api.github.com/users/vannut/events{/privacy}","received_events_url":"https://api.github.com/users/vannut/received_events","type":"User","site_admin":false},"created_at":"2017-11-03T08:13:03Z","updated_at":"2017-11-03T08:13:03Z","author_association":"CONTRIBUTOR","body":"That's not true. \r\nRegardless of the setting in the localepicker-property there will be a tree per locale with the prefix!\r\n"}}
{"actor":{"display_login":"vannut"}}