{"action":"created","issue":{"url":"https://api.github.com/repos/schemaorg/schemaorg/issues/561","labels_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/561/comments","events_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/561/events","html_url":"https://github.com/schemaorg/schemaorg/issues/561","id":83565984,"number":561,"title":"Support for language in an EntryPoint","user":{"login":"vholland","id":4692272,"avatar_url":"https://avatars.githubusercontent.com/u/4692272?v=3","gravatar_id":"","url":"https://api.github.com/users/vholland","html_url":"https://github.com/vholland","followers_url":"https://api.github.com/users/vholland/followers","following_url":"https://api.github.com/users/vholland/following{/other_user}","gists_url":"https://api.github.com/users/vholland/gists{/gist_id}","starred_url":"https://api.github.com/users/vholland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vholland/subscriptions","organizations_url":"https://api.github.com/users/vholland/orgs","repos_url":"https://api.github.com/users/vholland/repos","events_url":"https://api.github.com/users/vholland/events{/privacy}","received_events_url":"https://api.github.com/users/vholland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/schemaorg/schemaorg/labels/schema.org%20vocab","name":"schema.org vocab","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"vholland","id":4692272,"avatar_url":"https://avatars.githubusercontent.com/u/4692272?v=3","gravatar_id":"","url":"https://api.github.com/users/vholland","html_url":"https://github.com/vholland","followers_url":"https://api.github.com/users/vholland/followers","following_url":"https://api.github.com/users/vholland/following{/other_user}","gists_url":"https://api.github.com/users/vholland/gists{/gist_id}","starred_url":"https://api.github.com/users/vholland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vholland/subscriptions","organizations_url":"https://api.github.com/users/vholland/orgs","repos_url":"https://api.github.com/users/vholland/repos","events_url":"https://api.github.com/users/vholland/events{/privacy}","received_events_url":"https://api.github.com/users/vholland/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-01T15:37:51Z","updated_at":"2015-06-04T06:49:55Z","closed_at":null,"body":"Sometimes authors need to use different URLs for different Actions. For example, an OrderAction may have different URLs for English-speaking users and another for Spanish speakers.\r\n\r\nOne could infer the language by following the link and determining the language, but it would be easier if the author could write something like:\r\n\r\n```\r\n{\r\n  \"@context\": \"http://schema.org/\",\r\n  \"@type\": \"OrderAction\",\r\n  \"target\": [\r\n    {\r\n      \"@type\": \"EntryPoint\",\r\n      \"url\": \"http://www.example.com/order\"\r\n      \"inLanguage\": \"en\"\r\n    },\r\n    {\r\n      \"@type\": \"EntryPoint\",\r\n      \"url\": \"http://www.example.com/pedir\"\r\n      \"inLanguage\": \"es\"\r\n    },\r\n  ]\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/schemaorg/schemaorg/issues/comments/108752574","html_url":"https://github.com/schemaorg/schemaorg/issues/561#issuecomment-108752574","issue_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/561","id":108752574,"user":{"login":"mfhepp","id":671238,"avatar_url":"https://avatars.githubusercontent.com/u/671238?v=3","gravatar_id":"","url":"https://api.github.com/users/mfhepp","html_url":"https://github.com/mfhepp","followers_url":"https://api.github.com/users/mfhepp/followers","following_url":"https://api.github.com/users/mfhepp/following{/other_user}","gists_url":"https://api.github.com/users/mfhepp/gists{/gist_id}","starred_url":"https://api.github.com/users/mfhepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfhepp/subscriptions","organizations_url":"https://api.github.com/users/mfhepp/orgs","repos_url":"https://api.github.com/users/mfhepp/repos","events_url":"https://api.github.com/users/mfhepp/events{/privacy}","received_events_url":"https://api.github.com/users/mfhepp/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T06:49:55Z","updated_at":"2015-06-04T06:49:55Z","body":"While I see value in such meta-data in schema.org, it quickly gets complicated, becausewe need to understand whether the underlying entities are the same for different languages or not.\r\n\r\nFor a schema:WebSite, this is (arguably) not a problem, but there we already have http://schema.org/inLanguage - you can say that http://de.acme.com is in German and http://us.acme.com is in English.\r\n\r\nThe same holds for http://schema.org/WebPage.\r\n\r\nWhat we might add here is a property for indicating that one site or page is just a language variant of the other.\r\n\r\nBUT \r\n\r\nAs we turn to entities inside the page, we face the problem that while their textual description differs in multiple language, they are still the same entity.\r\n\r\n"}}