data-model-spec icon indicating copy to clipboard operation
data-model-spec copied to clipboard

[RDF1.2] Add base direction to literals

Open rubensworks opened this issue 1 year ago • 1 comments

There's a high chance of text directions to be added in RDF 1.2, so that string literals can indicate their direction (relevant I18N).

This issue is a place do discuss how we want to cope with this at RDF/JS data model-level.

In order to cope with this, we should add a new field to literals (e.g. direction), which may either be 'ltr' or 'rtl'. The datafactory will also have to be modified to cope with this. If we make direction optional, this should be fully backwards-compatible.

https://github.com/w3c/rdf-concepts/issues/9

rubensworks avatar May 25 '23 16:05 rubensworks

For reference, this has now been merged in the rdf-concepts spec (WD): https://github.com/w3c/rdf-concepts/commit/f299fd0500628ead4b5f2fad23c5eab16d04d1c0

rubensworks avatar Oct 24 '23 07:10 rubensworks