skohub-io / skohub-editor

Apache License 2.0
5 stars 4 forks source link

Add option to select record language #53

Closed acka47 closed 3 years ago

acka47 commented 3 years ago

Since implementing https://github.com/dini-ag-kim/lrmi-profile/issues/18 the JSON Schema for the default LRMI profile expects a default language in the context, e.g. {"@language": "de"}.

In the editor, this could be added with a dropdown right over the web form, where you can choose a language. In the JSON, this would then set the default language with the respective language code in the @context.

acka47 commented 3 years ago

The relevant part of the JSON schema is https://github.com/dini-ag-kim/lrmi-profile/blob/898c01232dcc39db2d56dea8f3f9e18770c399e8/draft/schemas/schema.json#L12-L35

acka47 commented 3 years ago

Duplicate of #32. Closing.