{"action":"created","issue":{"url":"https://api.github.com/repos/bedita/bedita/issues/517","labels_url":"https://api.github.com/repos/bedita/bedita/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/bedita/bedita/issues/517/comments","events_url":"https://api.github.com/repos/bedita/bedita/issues/517/events","html_url":"https://github.com/bedita/bedita/issues/517","id":39215433,"number":517,"title":"frontend: use hreflang and different urls for content translations","user":{"login":"stefanorosanelli","id":2122280,"avatar_url":"https://avatars.githubusercontent.com/u/2122280?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanorosanelli","html_url":"https://github.com/stefanorosanelli","followers_url":"https://api.github.com/users/stefanorosanelli/followers","following_url":"https://api.github.com/users/stefanorosanelli/following{/other_user}","gists_url":"https://api.github.com/users/stefanorosanelli/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanorosanelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanorosanelli/subscriptions","organizations_url":"https://api.github.com/users/stefanorosanelli/orgs","repos_url":"https://api.github.com/users/stefanorosanelli/repos","events_url":"https://api.github.com/users/stefanorosanelli/events{/privacy}","received_events_url":"https://api.github.com/users/stefanorosanelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bedita/bedita/labels/Priority%20-%20High","name":"Priority - High","color":"ffee00"},{"url":"https://api.github.com/repos/bedita/bedita/labels/Status%20-%20Test","name":"Status - Test","color":"FC750A"},{"url":"https://api.github.com/repos/bedita/bedita/labels/Topic%20-%20Core","name":"Topic - Core","color":"DDDDDD"},{"url":"https://api.github.com/repos/bedita/bedita/labels/Topic%20-%20Frontend","name":"Topic - Frontend","color":"DDDDDD"},{"url":"https://api.github.com/repos/bedita/bedita/labels/Type%20-%20Enhancement","name":"Type - Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"fquffio","id":7108146,"avatar_url":"https://avatars.githubusercontent.com/u/7108146?v=3","gravatar_id":"","url":"https://api.github.com/users/fquffio","html_url":"https://github.com/fquffio","followers_url":"https://api.github.com/users/fquffio/followers","following_url":"https://api.github.com/users/fquffio/following{/other_user}","gists_url":"https://api.github.com/users/fquffio/gists{/gist_id}","starred_url":"https://api.github.com/users/fquffio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fquffio/subscriptions","organizations_url":"https://api.github.com/users/fquffio/orgs","repos_url":"https://api.github.com/users/fquffio/repos","events_url":"https://api.github.com/users/fquffio/events{/privacy}","received_events_url":"https://api.github.com/users/fquffio/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bedita/bedita/milestones/10","html_url":"https://github.com/bedita/bedita/milestones/3-updates","labels_url":"https://api.github.com/repos/bedita/bedita/milestones/10/labels","id":542569,"number":10,"title":"3-updates","description":"\r\n3.x releases","creator":{"login":"stefanorosanelli","id":2122280,"avatar_url":"https://avatars.githubusercontent.com/u/2122280?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanorosanelli","html_url":"https://github.com/stefanorosanelli","followers_url":"https://api.github.com/users/stefanorosanelli/followers","following_url":"https://api.github.com/users/stefanorosanelli/following{/other_user}","gists_url":"https://api.github.com/users/stefanorosanelli/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanorosanelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanorosanelli/subscriptions","organizations_url":"https://api.github.com/users/stefanorosanelli/orgs","repos_url":"https://api.github.com/users/stefanorosanelli/repos","events_url":"https://api.github.com/users/stefanorosanelli/events{/privacy}","received_events_url":"https://api.github.com/users/stefanorosanelli/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":32,"state":"open","created_at":"2014-01-21T11:45:33Z","updated_at":"2015-04-20T13:35:21Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2014-07-31T17:03:57Z","updated_at":"2015-04-29T08:51:01Z","closed_at":null,"body":"https://support.google.com/webmasters/answer/189077?hl=en#\r\n\r\n * use tag links in HTML header to mark all traslations available (current page also)  \r\n```<link rel=\"alternate\" hreflang=\"es\" href=\"http://es.example.com/\" />```\r\n\r\n * use different urls for different contents translations/versions\r\n\r\nNow we use /lang/xxx at the beginning of urls to change session language and redirect to content, for example using www.example.com/lang/spa/my-content causes:\r\n * change to 'spa' spanish as session language\r\n * redirect to  www.example.com/my-content/ using spanish as language\r\n\r\nWe should have something like:\r\n * www.example.com/lang/spa/my-content/ that points to the spanish version\r\n * english (or default language) version may be at www.example.com/lang/eng/my-content/ or www.example.com/my-content/\r\n * current behaviour (redirect) stays default in backend\r\n * in frontend we can activate redirect via config parameter\r\n * urls in frontend pages should be in the same (current) language, if available, like  www.example.com/lang/spa/another.content/\r\n"},"comment":{"url":"https://api.github.com/repos/bedita/bedita/issues/comments/97355557","html_url":"https://github.com/bedita/bedita/issues/517#issuecomment-97355557","issue_url":"https://api.github.com/repos/bedita/bedita/issues/517","id":97355557,"user":{"login":"fquffio","id":7108146,"avatar_url":"https://avatars.githubusercontent.com/u/7108146?v=3","gravatar_id":"","url":"https://api.github.com/users/fquffio","html_url":"https://github.com/fquffio","followers_url":"https://api.github.com/users/fquffio/followers","following_url":"https://api.github.com/users/fquffio/following{/other_user}","gists_url":"https://api.github.com/users/fquffio/gists{/gist_id}","starred_url":"https://api.github.com/users/fquffio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fquffio/subscriptions","organizations_url":"https://api.github.com/users/fquffio/orgs","repos_url":"https://api.github.com/users/fquffio/repos","events_url":"https://api.github.com/users/fquffio/events{/privacy}","received_events_url":"https://api.github.com/users/fquffio/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T08:51:01Z","updated_at":"2015-04-29T08:51:01Z","body":"@stefanorosanelli Sorry for delay. Should be ok now: first point should have been satisfied (but requires a further minor change in frontends, as `BeHtml` helper needs to be **explicitely** instantiated by frontend's `PagesController` with an empty array of options **before** `BeFront` helper), while third point has been fixed."}}