Domanda

I'm using schema.org in my website.

When I want to name a person there is no problem, but I have to give that two names (one in English global language and another in local language).

Is it possible? If so, how?

È stato utile?

Soluzione

Simply use the corresponding property several times for the same item.

Example in Microdata:

<div itemscope itemtype="http://schema.org/Person">
  <div itemprop="name">John</div>
  <div itemprop="name">Johannes</div>
</div>

(Note that there is also the alternateName property.)

You may want to use the lang attribute to specify the language.

Altri suggerimenti

How about using either the "givenName" or "alternateName" property?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top