RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.38k stars 10.49k forks source link

Refreshing the page is changing the language back and not respecting the User Preference #32268

Closed jessicaschelly closed 5 months ago

jessicaschelly commented 6 months ago

Description:

When a user changes their language preference in the "User Preference" settings and then refreshes the page, the language reverts back to English.

Steps to reproduce:

  1. Go to user preferences /account/preferences
  2. Change to a language different from English e.g: Belarusian
  3. Refresh the page

Expected behavior:

The User Preference should be respected and the language should be kept as the one selected

Actual behavior:

It changes the Language on the screen to English (probably because of the browser language)

Before refreshing: image

After refreshing: image

Server Setup Information:

6.6.3

Client Setup Information

Desktop App or Browser Version: Browser Operating System: Windows

Additional context

Relevant logs:

SySagar commented 6 months ago

31802 hey @gabriellsh I think this error has been since a long time. If I remeber then I was unable to produce it on my dev however a lot of people have claimed it exists.

robinreckmann commented 6 months ago

31802 hey @gabriellsh I think this error has been since a long time. If I remeber then I was unable to produce it on my dev however a lot of people have claimed it exists.

The issue was introduced in version 6.6.0 afaik.