Re: ACTION-78 & ACTION-58 json-ld and multilingual language tags

Hi Antoine,

No shame on you.  It's just that I was on the call on Friday and you weren't.  When your action was mentioned, I volunteered to write something about the @language tag in JSON-LD (because I've recently re-read the JSON-LD spec for our GS1 work ( we're thinking of preparing some JSON-LD templates with properties for various product categories to make it much easier for manufacturers and retailers to add structured data to their existing web pages about products).  I have now added the summary about multilingual support in JSON-LD here:  

https://www.w3.org/2013/dwbp/wiki/RDF_AND_JSON-LD_UseCases#Support_for_internationalisation_and_multi-lingual_strings


Feel free to edit this, merge in your notes below or move to wherever else it belongs.

Best wishes,

- Mark




On 14 Sep 2014, at 22:38, Antoine Isaac <aisaac@few.vu.nl> wrote:

> Hi,
> 
> I see that Mark is now being assigned actions to chase me. Shame on me.
> 
> Trying to prevent him from wasting too much time... When I accepted action 58 it was about the tricial issue of handling multilingual labels in JSON LD, especially when a same property would have values in different languages.
> 
> The patterns to be used are explained at http://www.w3.org/TR/json-ld/#string-internationalization

> Look especially at example 34: Language map expressing a property in three language
> {
>  "@context":
>  {
>    ...
>    "occupation": { "@id": "ex:occupation", "@container": "@language" }
>  },
>  "name": "Yagyū Muneyoshi",
>  "occupation":
>  {
>    "ja": "忍者",
>    "en": "Ninja",
>    "cs": "Nindža"
>  }
>  ...
> }
> 
> I guess this closes the two actions. As long as we remember to use these patterns when we start creating JSON-LD data of course.
> 
> Best,
> 
> Antoine
> 
> On 9/12/14 3:49 PM, Data on the Web Best Practices Working Group Issue Tracker wrote:
>> dwbp-ACTION-78: Work on action 58 re summary of json-ld and multilingual language tags
>> 
>> http://www.w3.org/2013/dwbp/track/actions/78

>> 
>> Assigned to: Mark Harrison
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> CONFIDENTIALITY / DISCLAIMER: The contents of this e-mail are  confidential and are not to be regarded as a contractual offer or acceptance from GS1 (registered in Belgium). If you are not the addressee, or if this has been copied or sent to you in error, you must not use data herein for any purpose, you must delete it, and should inform the sender. GS1 disclaims liability for accuracy or completeness, and opinions expressed are those of the author alone. GS1 may monitor communications. Third party rights acknowledged. (c) 2012.
> </a>
> 

CONFIDENTIALITY / DISCLAIMER: The contents of this e-mail are  confidential and are not to be regarded as a contractual offer or acceptance from GS1 (registered in Belgium). 
If you are not the addressee, or if this has been copied or sent to you in error, you must not use data herein for any purpose, you must delete it, and should inform the sender. 
GS1 disclaims liability for accuracy or completeness, and opinions expressed are those of the author alone. 
GS1 may monitor communications. 
Third party rights acknowledged. 
(c) 2012.
</a>

Received on Sunday, 14 September 2014 22:15:01 UTC