Skip to content

Corpus form: filter field language options from corpus metadata #1816

@lukavdplas

Description

@lukavdplas

Is your feature request related to a problem? Please describe.
In the corpus form, you can select the language for text fields. The dropdown here includes hundreds of languages, which is cumbersome to work with.

But at this point, the user already filled in the languages used in the corpus, in the first step of the form. So this step can feel needlessly complicated.

Describe the solution you'd like
Instead of presenting all languages, the dropdown can just show the selection from corpus.definition.meta.languages.

In addition, there should always be an option for "unknown" and "English". The latter because metadata fields commonly use the language of the interface, rather than the language of the content.

Describe alternatives you've considered
Keep the dropdown as-is.

Additional context

Screenshot of the current dropdown:

screenshot of i-analyzer corpus form. shows "language" field and a combo box with languages

Metadata

Metadata

Assignees

Labels

enhancementimprovements to existing user functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions