- From: James M Snell <jasnell@gmail.com>
- Date: Thu, 22 Oct 2015 11:37:13 -0700
- To: Harry Halpin <hhalpin@w3.org>
- Cc: Ben <ben@thatmustbe.me>, Sandro Hawke <sandro@w3.org>, Social Web Working Group <public-socialweb@w3.org>, Richard Ishida <ishida@w3.org>
The AS2 spec originally had a separate `language` property that was removed because it did not play nice with the JSON-LD mechanism. In theory it could be added back in but doing so would add additional processing requirements for implementations and make things more complicated rather than less. My preference is to keep things as they are now. - James On Thu, Oct 22, 2015 at 10:46 AM, Harry Halpin <hhalpin@w3.org> wrote: [snip] > > However, off the top of my head there's no reason why we can't just say > in AS2.0 that we can look at the @language in @context but if there's no > @context, just look at a "language" tag. That's typically how I've seen > it in the wild and a lot more intuitive than @context and @language for > non-JSON-LD parsers (i.e. the majority of parsers). > > One of the few advantages of XML in this space over JSON was better defined internationalization. > > cheers, > harry > > > >> >> On Thu, Oct 22, 2015 at 7:13 AM, Ben <ben@thatmustbe.me> wrote: >>> The most pertinent piece is the Language section. >>> Based on that I would say that the <property>Map, etc is the wrong way to go. >>> There is actually nothing that says about giving multiple languages at >>> the same time to any piece of data, just that you label and can >>> request certain languages. >>> >>> for example something like this.. >>> { >>> ... >>> "@lang": "en", >>> displayName: { >>> "@lang": "jp", >>> "text": "nihongo de posuto" >>> } >>> "content": "I made the title in japanese!" >>> .... >>> } >>> It would also effect the API in that there should be an option to >>> submit a preference of language, >>> though there really is no requirement to actually respond in the >>> preferred language. >>> >>> On Thu, Oct 22, 2015 at 8:50 AM, Sandro Hawke <sandro@w3.org> wrote: >>>> There's finally a first draft of W3C expertise on how to design technologies >>>> which are suitably international >>>> >>>> http://www.w3.org/International/techniques/developing-specs-dynamic >>>> >>>> It would be splendid for someone to go through this thinking of AS2. >>>> >>>> -- Sandro >>>> >
Received on Thursday, 22 October 2015 18:38:01 UTC