Google Translate Integration

Prev Next

Rocket.Chat supports automatic message translation using Google Cloud Translation.

To use this integration, you must generate a Google Cloud Translation API key and configure it in your workspace settings.

Prerequisites

Before configuring Google Translate integration, ensure the following:

Google Cloud Requirements

  • A Google Cloud account

  • Billing enabled in Google Cloud

  • Access to the Google Cloud Console

Rocket.Chat requirements

  • Workspace administrator access (to configure auto-translate)

  • The auto-translate permission assigned to users who will use automatic translation


Step 1: Create a Google Cloud translation API key

  1. Go to the Google Cloud Console.

  2. Create a new project (or select an existing one).

  3. Navigate to APIs & Services → Library.

  4. Search for Cloud Translation API.

  5. Click Enable.

  6. Go to APIs & Services → Credentials.

  7. Click Create Credentials → API key.

  8. Copy the generated API key.

Refer to the official Google Cloud documentation for detailed setup instructions.

Step 2: Configure Google translate in Rocket.Chat

  1. Go to Manage → Workspace → Settings → Message → Auto-Translate

  2. Enable Auto-Translate.

  3. Select Google as the Service Provider.

  4. Paste your Google Translation API key.

  5. Save your changes.


Enable auto-translate in a room

After configuration:

  1. Open a room.

  2. Click the kebab menu (â‹®) in the room header.

  3. Select Auto-Translate.

  4. Enable Automatic Translation.

  5. Choose your preferred language.

Messages will be translated into your selected language.

  • Translations are visible only to the user who enabled them.

  • Original messages remain unchanged for other users.

Translate a single message

To manually translate a specific message:

  1. Hover over the message.

  2. Click the kebab menu (â‹®).

  3. Select Translate.