Skip to content

Language selection is not retained after page refresh #4133

@alegontarz

Description

@alegontarz

Describe the bug

DSpace 9.0
When a user selects a language from the available options and then refreshes the page, the language of the interface changes unexpectedly. This behavior indicates that the chosen language setting is not properly stored or applied on subsequent page loads, leading to an inconsistent user experience.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://sandbox.dspace.org/home
  2. Choose a specific language (e.g., French, German, etc.).
  3. Observe that the page content updates to the selected language.
  4. Refresh the page.
  5. Notice that the language changes from the selected language to another language or defaults to the original language.
Kapture.2025-04-07.at.12.01.04.mp4

Expected behavior

The selected language should persist across page refreshes. The page should continue to display in the language chosen by the user without reverting to a different default language.

Related work

Link to any related tickets or PRs here.

Metadata

Metadata

Assignees

Labels

bughigh priorityi18n / l10nInternationalisation and localisation, related to message catalogstestathonReported by a tester during Community Testathon

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions