问题
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?
回答1:
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.
回答2:
How about using either the "givenName" or "alternateName" property?
来源:https://stackoverflow.com/questions/21332650/is-it-possible-to-use-two-names-for-a-person-in-schema-org