- From: David Riccitelli <david@wordlift.io>
- Date: Thu, 30 Aug 2018 11:22:09 +0200
- To: "schema.org Mailing List" <public-schemaorg@w3.org>
Received on Thursday, 30 August 2018 09:22:42 UTC
Hello, Has anyone tested `@language` support in SDTT? >From a little experiment I can see that I can specify the default language using { "@context":{ "@vocab":"http://schema.org/", "@language":"en", ... However it seems that the only way to specify additional languages is to add terms to the `@context` such as: "givenName_zh":{ "@id":"givenName", "@language":"zh" ... Does it look right to you? This is the little experiment I ran: { "@context":{ "@vocab":"http://schema.org/", "@language":"en", "givenName_zh":{ "@id":"givenName", "@language":"zh" }, "givenName_i18n":{ "@id":"givenName", "@container":"@language" } }, "@type":"Person", "givenName":[ "David", { "@value":"데이빗", "@language":"ko" } ], "givenName_zh":"大卫", "givenName_i18n":{ "ja":"ダビド" }, "familyName":"Riccitelli" } BR David ref https://github.com/insideout10/wordlift-plugin/issues/844
Received on Thursday, 30 August 2018 09:22:42 UTC