tencent cloud

Chat

News and Announcements
Release Notes
Announcements
Product Introduction
Overview
Basic Concepts
Scenarios
Features
Account System
User Profile and Relationship Chain
Message Management
Group Related
Official Account
Audio/Video Call
Use Limits
Purchase Guide
Billing Overview
Pricing
Purchase Instructions
Renewal Guide
Service Suspension Explanation
Refund Policy
Development Guidelines
Demo Zone
Activate Service
Free Demos
Quick Run
Download
SDK and Demo Source Code
Update Log
Chat Interaction (UI Included)
TUIKit Introduction
Getting Started
Full-feature Integration
Single-function Integration
Build with AI
Build Basic Interfaces
More Features
Customizing Appearance
Internationalization
Push Service
Overview
Noun explanation
Activate the Service
Quick Start
Manufacturer Channel
Statistics
Troubleshooting Tool
Client APIs
REST API
Push Callback
Advanced Features
Release Notes
Error Codes
FAQS
Desk
Overview
Quick Start
Integration Guide
Admin Operation Manual
Agent Manual
More Practices
Live Streaming Setup Guide
AI Chatbot
Super Large Entertainment and Collaboration Community
Discord Implementation Guide
How to Integrate Chat into Games
WhatsApp Channel-style Official Account Integration Solution
Send Red Packet
Firewall Restrictions
No UI Integration
Quick Start
SDK Integration
Initialization
Login and Logout
Message
Conversation
Group
Community Topic
User Profile and Relationship Chain
Offline Push
Cloud Search
Local Search
Official Channel Management
Client APIs
JavaScript
Android
iOS & macOS
Swift
Flutter
Electron
Unity
React Native
C APIs
C++
Server APIs
Secure authentication with UserSig
RESTful APIs
Webhooks
Console Guide
New Console Introduction
Creating and Upgrading an Application
Basic Configuration
Feature Configuration
Account Management
Group Management
Official Channel Management
Webhook Configuration
Usage
Viewing Guide for Resource Packages
Real-Time Monitor
Auxiliary Development Tools
Access Management
Advanced Features
FAQs
uni-app FAQs
Purchase
SDK
Account Authentication
User Profile and Relationship Chain
Message
Group
Audio-Video Group
Nickname and Profile Photo
Security Compliance Certification
Service Level Agreement
Security Compliance Certification
Chat Policies
Privacy Policy
Data Privacy and Security Agreement
Migration
Migration Solutions
Migration Solutions Lite
Error Codes
Contact Us

Flutter

PDF
Focus Mode
Font Size
Last updated: 2026-03-16 17:19:35

Feature Overview

Text Message Translation allows users to translate text messages directly within the chat interface. To use this feature, long-press any text message in the message list and select Translate from the menu to view the translated text.
Note:
The Text Message Translation feature is available to Pro, Pro Plus and Enterprise edition customers. To enable this feature, purchase Pro, Pro edition Plus or Enterprise edition. The Trial Edition offers limited free usage for one month.

Text Message Translation

Translate Button
Text Message Translation Result



Configure Target Language

The target language for translation is managed by AppBuilder. To set or retrieve the target language, refer to the demo:
// Set the target language for translation
AppBuilder.getInstance().translateConfig.setTargetLanguage('zh');
// Get the current target language for translation
final currentLanguage = AppBuilder.getInstance().translateConfig.targetLanguage;

Enable or Disable Text Message Translation

The MessageList widget includes a toggle for the Text Message Translation feature in its config parameter. By default, this feature is enabled (true). To disable it, set the value to false:
MessageList(
config: ChatMessageListConfig(isSupportTranslate: false),
),
Note:
Only text messages and text-based reference or reply messages are supported. Images, voice, video, files, emojis, custom messages, and other formats are not supported for translation.
The maximum translation request rate is 5 times per second.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback