Skip to content

AutoTranslation glitches since v59.4 #9155

@RichardFoxworthy

Description

@RichardFoxworthy

Description:

Auto-translated message text content renders embedded between visible <p> and </p> tags
Auto-translate toggle icon does not appear in message context menu

Server Setup Information:

  • Version of Rocket.Chat Server: 59.4
  • Operating System: Linux
  • Deployment Method(snap/docker/tar/etc): Snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • Node Version: v4.8.4

Steps to Reproduce:

  1. Enable AutoTranslate via Message ---> AutoTranslate menus in Admin console - requires Google API key
  2. Make sure your user has AutoTranslate permission enabled in Permissions in Admin console
  3. AutoTranslate icon should now appear in right-hand flextab menu
  4. Open flextab and set switch to 'on' position
  5. Select a target language for AutoTranslate to translate messages into

Expected behavior:

All new messages sent into the channel should now appear in the target translation language
Each translated message should have translation toggle switch enabled in context menu

Actual behavior:

Messages do appear in target translated language, but also have <p> and </p> tags visible:
screen_shot_2017-12-18_at_12_00_29_pm

Translated messages do have toggle switch enabled in context menu, but icon is missing:
screen_shot_2017-12-18_at_12_12_52_pm

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions