W3C home > Mailing lists > Public > public-linked-json@w3.org > September 2011

Re: Compact forms of language literals

From: Alexandre Passant <alex@seevl.net>
Date: Mon, 12 Sep 2011 11:31:40 +0100
Message-ID: <CALF6uC=66_NRvMxiBnZ6JEcm-5EHUG1a-JmUwydD7zyB2=CSOw@mail.gmail.com>
To: Thomas Steiner <tomac@google.com>
Cc: Ivan Herman <ivan@w3.org>, Markus Lanthaler <markus.lanthaler@gmx.net>, public-linked-json@w3.org
+1 for having it in the context.
And for also supporting separately in the headers - using Content-Language.

Alex.


On Mon, Sep 12, 2011 at 11:26 AM, Thomas Steiner <tomac@google.com> wrote:
> Oh, I instinctively assumed it would be part of the @context. -1 on
> any proposition different from that. +1 for putting @language in the
> @context.
>
> On Mon, Sep 12, 2011 at 10:11, Ivan Herman <ivan@w3.org> wrote:
>>
>> On Sep 11, 2011, at 23:27 , Markus Lanthaler wrote:
>>
>>>> 1. Add JSON-LD support for declaring a document-wide language
>>>> directive (within the context or at the top level, i.e. where
>>>> "@context" and the optional "@base" appear). This is for scenarios
>>>> where there is one dominant language for a given resource.
>>>>
>>>> This would enable us to use @language like this:
>>>>
>>>>  {
>>>>    "@context": ...,
>>>>    "@language": "en",
>>>>    "@subject": "http://example.org/",
>>>>    "title": "The Example"
>>>>  }
>>>
>>> +1 but perhaps we should move @language into the context description. The
>>> "meaning" of the document is described in the context so I think that's the
>>> place to be for the @language tag as well.
>>
>> I would also feel it more natural if this was part of the @context. It would also make it clear/clean that children of a node would inherit the language setting, just like any other contextual settings.
>>
>> Ivan
>>
>>
>>>
>>>
>>>
>>> --
>>> Markus Lanthaler
>>> @markuslanthaler
>>>
>>>
>>>
>>>
>>
>>
>> ----
>> Ivan Herman, W3C Semantic Web Activity Lead
>> Home: http://www.w3.org/People/Ivan/
>> mobile: +31-641044153
>> PGP Key: http://www.ivan-herman.net/pgpkey.html
>> FOAF: http://www.ivan-herman.net/foaf.rdf
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Thomas Steiner, Research Scientist, Google Inc.
> http://blog.tomayac.com, http://twitter.com/tomayac
>
>



-- 
Dr. Alexandre Passant - @terraces
Founder, CEO - seevl.net - @seevl
Reinventing Music Discovery
Received on Monday, 12 September 2011 10:32:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:32 UTC