Skip to content

Metadata verification error labels are not translated #9397

@stevenferey

Description

@stevenferey

Issue created by the "entrepot.recherche.data.gouv.fr" team

What steps does it take to reproduce the issue?

Filling in the metadata of a Dataset and not respecting the data type

  • When does this issue occur?

When the metadata is invalid

  • Which page(s) does it occurs on?

-> Editing the metadata of a dataset
-> Creating a dataset

  • What happens?

If the value of a metadata field does not respect the data type, then a validation error message is displayed.
This error message is not internationalized.

If the Dataverse is in FR, the error message should be configurable in FR in a property file.

Currently, the label is directly declared in the Java class.
DatasetFieldValueValidator.java

  • To whom does it occur (all users, curators, superusers)?

All the users

  • What did you expect to happen?

If the Dataverse language is FR, the error message should be displayed in FR

Which version of Dataverse are you using?

5.12.1

Any related open or closed issues to this bug report?

Screenshots:

Capture_error_label_EN_01

Capture_error_label_EN_2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions