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
Open

label property should allow internationalized text #437

azaroth42 opened this issue Apr 16, 2018 · 0 comments
Labels
Errata i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. model

Comments

@azaroth42
Copy link
Collaborator

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"]
}
@r12a r12a closed this as completed Nov 21, 2019
@r12a r12a reopened this Nov 21, 2019
@plehegar plehegar added i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. and removed i18n-review labels Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Errata i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. model
Projects
None yet
Development

No branches or pull requests

4 participants