W3C home > Mailing lists > Public > public-i18n-its-ig@w3.org > October 2015

Re: Internationalization and beyond related metadata for JSON - ITS perspective?

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 15 Oct 2015 21:06:03 +0200
Message-ID: <561FF91B.7060702@kosek.cz>
To: Felix Sasaki <fsasaki@w3.org>, public-i18n-its-ig <public-i18n-its-ig@w3.org>
On 15.10.2015 19:33, Felix Sasaki wrote:
> I am interested in hearing what solutions people have in mind for the issue, and if there is interest in specifying a common one.

Hi,

JSON is very poor for this, so my preferred solution is to use XML for
this :-)

In wild many people just store fragments of XML or HTML inside JSON
string and parse them in application to access rich structure, together
with metadata.

For language information, it would be possible to reuse JSON-LD:

http://www.w3.org/TR/json-ld/#string-internationalization

But not sure if you are looking for really generic JSON solution -- then
JSON-LD might be out-of-scope.

			Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


Received on Thursday, 15 October 2015 19:06:36 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 15 October 2015 19:06:36 UTC