OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xliff] Internationalization and beyond related metadata for JSON - XLIFF perspective?


Hi Felix,

I well aware of the issues caused by not having explicit language information and needing to fall back on heuristics for things like base direction. So I can see why there is a need for this. When it comes to JSON I personally prefer to have such features be part of the document specification instead of trying to add XML like features, type systems and constructs to JSON. If the problem need "heavy-weight" solutions like that XML is probably a better choice. The switch from XML to JSON in large areas of the Web space was to a large degree that XML became complicated as more and more standards and products started to make use of the more advanced parts of it. A lot of people wanted back to something simpler and smaller.

Looking at JSON-LD for example I think the outside of the content parts are ok, like having per-document/per-nesting level "@context" sub objects that augment the main data without in any way modifying it or complicating use of it by someone who do not care about the meta-information. The inline "@value" objects on the other hand does not feel right to me in JSON as an example.

I have essentially used completely document specific solutions when doing JSON. If I need to be able to tag a section of text in some way, be it language or something else I have broken it up into objects that have properties for the needed metadata, used custom span pointers for it or just added custom macros/codes in the text itself.

Best Regards,
Fredrik Estreen


From: xliff@lists.oasis-open.org [xliff@lists.oasis-open.org] on behalf of Felix Sasaki [felix@sasakiatcf.com]
Sent: Thursday, October 15, 2015 7:35 PM
To: XLIFF Main List
Subject: [xliff] Internationalization and beyond related metadata for JSON - XLIFF perspective?

Hi all,

apologies for posting a similar message to the W3C ITS IG and this list; I am hoping to reach more people, obviously.

In the W3C i18n working group we recently had discussion about how to add language information or directionality information to a json string. I mentioned that a while ago in the W3C ITS IG esp. Yves had experimented with adding metadata like a translate flag to json strings. Addison and Richard from the i18n WG have prepared some background reading on the json metadata topic and on plain text metadata in general, see here

https://www.w3.org/International/wiki/ContentMetadataJavaScriptDiscussion
http://r12a.github.io/docs/bidi-plain-text/index.html 

I am interested in hearing what solutions people have in mind for the issue, and if there is interest in specifying a common one. Of course the planned work on an XLIFF object model may become relevant here.

Best,

Felix


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]