W3C home > Mailing lists > Public > public-schemaorg@w3.org > March 2017

Re: Multilingual names

From: Aaron Bradley <aaranged@gmail.com>
Date: Thu, 9 Mar 2017 08:47:46 -0800
Message-ID: <CAMbipBuPrvhrikyTeh8DH=FntyFCQuC75Xx-XgMEU3qzRRtduQ@mail.gmail.com>
To: Martynas Jusevičius <martynas@graphity.org>
Cc: "schema. org Mailing List" <public-schemaorg@w3.org>, Richard Wallis <richard.wallis@dataliberate.com>
If you're using multiple values for a text property, you need an array.
This passes muster in the SDTT:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Person",
  "name": [
  {
     "@language": "en",
     "@value": "Leonardo da Vinci"
  },
  {
    "@language": "mk",
    "@value": "Леонардо да Винчи"
    }
  ]
}
</script>

On Thu, Mar 9, 2017 at 8:03 AM, Martynas Jusevičius <martynas@graphity.org>
wrote:

> I have created an issue with Google:
> https://productforums.google.com/forum/?utm_medium=email&
> utm_source=footer#!topic/webmasters/QJIyPVbE4kU;
> context-place=forum/webmasters
>
> As it is now, I consider the Structured Data Testing Tool unusable.
>
> On Wed, Mar 8, 2017 at 10:02 PM, Martynas Jusevičius
> <martynas@graphity.org> wrote:
> > Hey,
> >
> > how do I define names in multiple languages using schema.org JSON-LD?
> >
> > I tried this:
> >
> > "name": { "@value": "24timer", "@language": "da" }
> >
> > which is valid JSON-LD, but Google Structured Data Testing Tool does
> > not allow it.
> >
> >
> > Martynas
> > atomgraph.com
>
>
Received on Thursday, 9 March 2017 16:48:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:34 UTC