RocketChat / RocketChat/Rocket.Chat

Rocketchat Docker v5.0 - Language setting cannot be set to zh-hk or zh-tw

Open
#26,646 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

AdministrationSettingsGeneral If I set Language to 繁體中文(香港) which is zh-hk or 繁體中文(台灣) which is zh-tw and click "save changes" button, I'll get undefined error. So, I can't set language to zh-hk or zh-tw.

Steps to reproduce:
  1. Go to **Administration** → **Settings** → **General**
  2. Click the dropdown list of Language and set it to 繁體中文(香港) or 繁體中文(台灣)
  3. Click "save changes" button
Expected behavior:

It should have been able to set the language to zh-hk or zh-tw.

Actual behavior:

圖片
圖片

Server Setup Information:
  • Version of Rocket.Chat Server: Docker image v5.0
  • Operating System: Linux (ubuntu)
  • Deployment Method: docker
  • Number of Running Instances:
  • DB Replicaset Oplog: MongoDB Atlas
  • NodeJS Version:
  • MongoDB Version: 5.0.10
Client Setup Information
  • Desktop App or Browser Version: browser
  • Operating System: Windows

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

Start at Administration → Settings → General and reproduce the save failure with zh-hk and zh-tw in a Docker v5.0 setup. Trace the language-setting save path from the dropdown, then verify that both values can be saved successfully without the undefined error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, typescript
Domain
internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.