Benjamin Young: The VCWG is adopting some of JSON-LD language value objects. ✪
... They're falling down rabbit holes of term aliases and the like.
... JSON-LD does a comprehensive support for languages.
... We have language value objects, but if aliased, it becomes difficult to understand when looking just at the JSON.
... The proposal is to write a note extracting the processing steps and expression of @language/@value/@direction into a standalone note.
... This could be extracted to its own note that could describe a pattern useful outside of JSON-LD itself.
gsaumier-finch: Also @container: @language is very powerful and used frequently in my group ✪
... This would put in a single place best practices for describing language text in JSON.
... I think the "@" symbol is an immportant part of this.
Benjamin Young: I think the core foundation should be language value objects. ✪
... We can then describe ways of extending this, including language maps.
Benjamin Young: I think a WG note is the way to go, but work can happen in the CG. ✪
... I'd start in the JSON-LD CG.
gsaumier-finch: There's not concern in the context with getting rid of the "@", to be clear? ✪
Benjamin Young: Because it would exist outside of JSON-LD, we would loose aliasing functionality. ✪
... I'm proposing that we use the expanded forms outside of JSON-LD. If a pattern is established without these, there's a danger that different systems would behave differently.
... This would allow libraries to process these expanded value objects without needing to do other JSON-LD processing.
... Once you use aliases, the meaning becomes less clear.
... Note that schema.org/value is a thing that could be mistaken.
gsaumier-finch: When we use @container: @language; in that form, the languages don't have at-signs. ✪
... This creates a nicely compact representation that avoids a lot of use of @language.
Benjamin Young: We can point to the language map bits from JSON-LD, but the pattern is for using the expanded value objects with @language ✪
... I think the note is something to involve the I18N folks in.
... I'd keep @none in there.
Gregg Kellogg: I don't think that has meaning in the expanded representation. ✪
Benjamin Young: We want to avoid people adding other properties inside a language object. ✪
gsaumier-finch: I'll stop aliasing @none as none in the contexts ;-) ✪
Gregg Kellogg: Next step is to discuss with @pchampin as staff contact. ✪