RocketChat / RocketChat/Rocket.Chat

Auto Translate shows placeholders for notranslate parts in the chat

Open
#31,146 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:

When using auto translate, parts of a chat message that are not supposed to be translated (like @ user xy) are shown as placeholders.

Steps to reproduce:

Enable auto translate for a room and send a message that includes notranslate parts like @ user xy. In our case, we are using Microsoft auto translate services.

Expected behavior:

The original text should be shown and not the placeholder.

Actual behavior:

grafik

Server Setup Information:
  • Version of Rocket.Chat Server: 6.5.0
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.3 - x64
  • MongoDB Version: 7.0.2
Client Setup Information
  • Desktop App or Browser Version: browser
  • Operating System: does not matter, same effect on any browser

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

Reproduce the issue by enabling auto translate for a room and sending a message containing a notranslate part such as @ user xy, using the Microsoft auto translate service if available. Trace the chat translation flow from the reproduced message and compare the displayed placeholder with the expected original text; done means the notranslate content remains visible.

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.