This topic describes how to configure the Recognize Language from Text component. This component identifies the language of a message and stores it as a variable for subsequent use.
Component information
Component icon
![]()
Component name
Recognize Language from Text.
Preparations
Go to the canvas page of an existing flow or a new flow.
Go to the canvas page of an existing flow.
Log on to Chat App Message Service Console. Choose Chat Flow > Flow Management. Click the name of the flow that you want to edit. The canvas page of the flow appears.

Create a new flow to go to the canvas page. For more information, see Create a flow.
Procedure
Click the Recognize Language from Text icon to view the configuration area on the right side.

Configure the component based on your needs. For more information, see Parameters.
Click Save in the upper-right corner. In the message that appears, click Save.

Parameters
Parameter | Description |
Content Identification | The content variable to be recognized. |
Accuracy Level | The level of recognition accuracy, where a higher number indicates greater precision. |
Fall-back Language | The default language to return if the language of the message cannot be recognized. |
Output Type | The type of language code used for outputting the recognized language. Example: If the recognized language is English, the ISO_639_1 type will return "en," and the ISO_639_3 type will return "eng." |
Output Path Variable | The custom output variable name. |
Multi-branch Settings | After enabling the multi-branch button, select languages as needed and configure the corresponding language content components in the language branches on the left. |
Appendix: Supported languages and their corresponding codes
Language | isoCode639_1 | isoCode639_3 |
Arabic | AR | ARA |
English | EN | ENG |
German | DE | DEU |
French | FR | FRA |
Chinese | ZH | ZHO |
Spanish | ES | SPA |
Italian | IT | ITA |
Turkish | TR | TUR |
Hebrew | HE | HEB |
Ukrainian | UK | UKR |
Poland | PL | POL |
Dutch | NL | NLD |
Portuguese | PT | POR |
Russian | RU | RUS |
Thai | TH | THA |
Korean | KO | KOR |
Japanese | JA | JPN |