Skip to content

label property should allow internationalized text #437

@azaroth42

Description

@azaroth42

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"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Erratai18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions