RocketChat / RocketChat/Rocket.Chat

App Crashing when switching to different languages

Open
#28,307 4 comments 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:

As we know Rocket.chat offers us with several language features where we can select language on which we are comfortable with,
but there are few languages which are causing app to crash such as -> bn-Bd, bn-In, hi-IN, ka-GE and others too.

Steps to reproduce:
  1. ...../admin/settings/General
  2. change language to any of bn-Bd, bn-In, hi-IN, ka-GE
  3. save changes
Expected behavior:

The app should change its language

Actual behavior:

app crashes

crash

Server Setup Information:
  • Version of Rocket.Chat Server: 6.0.0-develop
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.2
  • MongoDB Version: 5.0.5
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:
Additional context
Relevant logs:

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 by reproducing the crash from /admin/settings/General with bn-Bd, bn-In, hi-IN, and ka-GE selected, then inspect the language-setting flow and the browser or server logs. Done means each reported locale can be selected and saved without crashing and the app changes language as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.