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

label property should allow internationalized text #437

Open
azaroth42 opened this issue Apr 16, 2018 · 0 comments

Comments

@azaroth42
Copy link
Collaborator

commented Apr 16, 2018

The label property, currently applied to Annotation Collection and Annotation Page, does not allow for internationalized content. For example, if I want to have a label for my Annotation Collection available in both English and French, then the client is unable to distinguish between the languages.

In JSON-LD 1.1, language maps with @set containers are introduced, allowing for a very developer-friendly serialization. The issue of text content without a language generating a new property has been resolved with the addition of the @none keyword. Given the importance of internationalization, this change should be considered for future specifications and potentially an erratum when the JSON-LD 1.1 spec makes it to full Technical Recommendation.

The proposed context entry would thus be:

"label": {
  "@id": "rdfs:label",
  "@container": ["@language", "@set"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.