RocketChat / RocketChat/Rocket.Chat
[BUG]Language Setting issue
Nobody has claimed this yet.
- 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:
- Log in to an account with Admin right
- Go to Administrative setting, choose General/Language
- Change the language to a different one from the current language. Save and refresh. Nothing will occur.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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