- From: Felix Sasaki <fsasaki@w3.org>
- Date: Fri, 16 Oct 2015 09:00:55 +0200
- To: Jirka Kosek <jirka@kosek.cz>
- Cc: public-i18n-its-ig <public-i18n-its-ig@w3.org>
- Message-Id: <1572033F-C38C-48AF-B97D-BD1E17D39B7A@w3.org>
Hi Jirka, > Am 15.10.2015 um 21:06 schrieb Jirka Kosek <jirka@kosek.cz>: > > 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 :-) I agree :) but my question is about JSON in general. > > 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. that actually may not be a bad thing, since it gives you all metadata (language, directionality, translate attribute etc.) in the usual way. > > For language information, it would be possible to reuse JSON-LD: > > http://www.w3.org/TR/json-ld/#string-internationalization <http://www.w3.org/TR/json-ld/#string-internationalization> Agree. > > But not sure if you are looking for really generic JSON solution Yes. > -- then > JSON-LD might be out-of-scope. Maybe. But since there is no general solution yet everything is useful to look at, so thanks a lot for the ideas & pointer. Best, Felix > > 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 Friday, 16 October 2015 07:01:09 UTC