Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Use case: Language tabs on top of a form and editing data that should be language specific but is not xsd:langString #19

@danielbeeke

Description

@danielbeeke

When editing multilingual data it would be great to have something like the following UI:

Screenshot from 2023-08-23 12-32-55

This works quite fine for sh:datatype xsd:langString. But there is no predicate to indicate that a certain structure is language aware. How would we make the form so that the date is language specific?

Would the following work?

sh:property [
  sh:name "Date"@en ;
  sh:datatype xsd:date ;
  sh:path (schema:date schema:value);
  OUR_NAMESPACE:multilangual [
    OUR_NAMESPACE:languagePredicate schema:inLanguage ;
    OUR_NAMESPACE:valuePredicate schema:value ;
  ] ;
] ;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions