tencent cloud

All product documents
Chat
Last updated: 2025-03-27 15:32:19
Flutter
Last updated: 2025-03-27 15:32:19

Description

The message translation feature allows you to manually long press a text message bubble in the message list after you enter the chat interface, and then click the Translate button in the pop-up menu to translate the text.
Note:
The message message translation feature is provided by a plugin. To use it, tencent_cloud_chat_text_translate needs to be integrated. It is supported by version 1.4.1 and later.
The message translation feature is only available to customers of Pro Plus and Enterprise. It can be used after purchasing Pro Plus and Enterprise; the Free Trial version supports a certain limit of free trial, valid for one month.

Effect Display

The effect of integrating the translation plugin is shown below:
Mobile
Desktop
Without the translation plugin integrated, the Translate button is not displayed.
With the translation plugin integrated, the Translate button is displayed.
Text message translation effect







Without the translation plugin integrated, the Translate button is not displayed.
With the translation plugin integrated, the Translate button is displayed.
Text message translation effect











Feature Overview

Integrating Plugins

Starting from version 1.4.1, the translation feature is provided by the plugin tencent_cloud_chat_text_translate .
If you do not need the translation feature, simply do not integrate the plugin. The Translate button will not be displayed when you long press a text message.
If you need the translation feature, you must integrate tencent_cloud_chat_message and tencent_cloud_chat_text_translate. The Translate button will be displayed automatically when you long press a text message.
After tencent_cloud_chat_text_translate is integrated, you can also set the target language for translation. The default target language is the current language used by UIKit.
Note:
tencent_cloud_chat_text_translate is dependent on tencent_cloud_chat_message and cannot be integrated individually.
Only text messages and text type of quotes or replies are supported. Image, voice, video, file, emoji, and custom messages are not supported for translation.
Not all source languages can be translated into the set target language. For example, English can be translated into Hindi, but Chinese cannot be translated into Hindi. For translation languages supported currently, refer to Supported Text Translation Languages. If translation fails, consult this document to change the source or target language.

Usage

First, install the tencent_cloud_chat_text_translate plugin:
flutter pub add tencent_cloud_chat_text_translate
To enable the plugin, add the following code to the plugins list in initUIKit:
TencentCloudChatPluginItem( name: "textTranslate", pluginInstance: TencentCloudChatTextTranslate(), ),

Contact Us

If you have any questions about this feature, feel free to join the Telegram Technical Group, and obtain reliable technical support from it.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon