Skip to content

Support for language in an EntryPoint #561

@vickitardif

Description

@vickitardif

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.

One could infer the language by following the link and determining the language, but it would be easier if the author could write something like:

{
  "@context": "http://schema.org/",
  "@type": "OrderAction",
  "target": [
    {
      "@type": "EntryPoint",
      "url": "http://www.example.com/order"
      "inLanguage": "en"
    },
    {
      "@type": "EntryPoint",
      "url": "http://www.example.com/pedir"
      "inLanguage": "es"
    },
  ]
}

Metadata

Metadata

Assignees

Labels

schema.org vocabGeneral top level tag for issues on the vocabulary

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions