Skip to content

Date picker labels display unresolved translation keys in non-English locales #142

Description

@jorgeltd

Describe the bug

DSpace version: 2025.02.01.01
In non-English locales, the input labels for Year, Month, and Day within date picker form components concatenate the already-translated label string onto the translation key path instead of using the raw key slug. This results in the UI displaying raw, unresolved i18n translation keys (e.g., form.number-picker.label.Año instead of Año).

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to any submission form containing a date picker input (e.g., Publication).
  2. Switch the application language to any language other than English (e.g., Spanish, French, German).
  3. Inspect the Year, Month, and Day input labels in the date picker component.

Expected behavior

Render the translation for each date component correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions