Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language and direction tags in CBOR literals #19

Open
chrysn opened this issue Nov 8, 2021 · 2 comments
Open

Language and direction tags in CBOR literals #19

chrysn opened this issue Nov 8, 2021 · 2 comments

Comments

@chrysn
Copy link
Member

chrysn commented Nov 8, 2021

Given that our compact URIs became more widely usable in CBOR, might we do the same things for languages?

Like, define a tag structure #6.TBD([tstr, lang, ?direction]) that enables I18N for general CBOR.

With our data model it'd work just the same, we could ditch the attributes-on-literals unless another use case shows up. (Note: I like attributes on literals. But they have to carry their weight in the information model).

Actually we already have one (tag 38) shaped #6.38([lang, tstr]); it should be extensible still to allow a direction (given that the author mentioned RDF as a use case where that was added).

[edit: link to spec, fixed example]

@chrysn
Copy link
Member Author

chrysn commented Feb 25, 2022

Pulling in that tag could happen within notable-tags.

Next step: Contact Peter, make suggestion, see if he responds. true/false as suggestions.

@chrysn
Copy link
Member Author

chrysn commented Jun 26, 2022

This has moved into problem-details, and just needs some text now that ties it together with the RDF conversion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant