RocketChat / RocketChat/Rocket.Chat

[BUG]Language Setting issue

Open
#10,922 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui/ux feat: i18n type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Strange behaviour with Language Settings.
Set general setting to a any language (tested with VN-VI, Chinese), language setting of the new account is set to that language, but the UI is reverted back to English after page refresh. Furthermore, some browser will have UI login page with the set language (firefox), some browser will automatically revert to english.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.64.2
  • Operating System: OSX
  • Deployment Method(snap/docker/tar/etc): development server
  • Number of Running Instances: 2
  • DB Replicaset Oplog:
  • Node Version:
  • mongoDB Version:
Steps to Reproduce:
  1. Log in to an account with Admin right
  2. Go to Administrative setting, choose General/Language
  3. Change the language to a different one from the current language. Save and refresh. Nothing will occur.
  4. Create a new user in a different browser, initially user has not language preference yet. The language of the newly created user will be the one chosen in step 3. However, when one click refresh, the language of the UI will be reverted back to English.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the language change and refresh behavior in the listed browser scenarios, then trace how the general language and new-user preference are persisted and loaded. Done means the selected language remains active after refresh for both the UI and newly created users.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.