Re: Multilingual names

Aaron, I know this. In this case I'm *not* using multiple properties.
Just a single one with a language tag.

On Thu, Mar 9, 2017 at 5:47 PM, Aaron Bradley <aaranged@gmail.com> wrote:
> 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:49:38 UTC