Introduction
This document describes the way to use different supported lanugages and voice names to play native Text-To-Speecah (TTS) prompts inside the WxCC subflow.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Configure
Step 1: Navigate to any subflow and Click on "Create Subflows"
Note: Global variables such as "Global_Language" & "Global_VoiceName" variables wont be available inside the sub-flow.
![CreateSubflow](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-00.jpeg)
Click on "Start Fresh" and "Create Subflows"
![Start_Floq](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-01.jpeg)
Provide a Name and Click on "Create Subflow":
![Name_d_Flow](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-02.jpeg)
Step 2: Create two local variables with the name of "Global_Language" and "Global_VoiceName" as per the screenshots:
![Lang_Variable](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-03.jpeg)
![VoiceName](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-04.jpeg)
Step 3: Add the Set Variable nodes with the newly created 2 local variables along with the MENU node with TTS prompts as mentioned:
![Script1](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-05.jpeg)
![Script2](/c/dam/en/us/support/docs/contact-center/webex-contact-center/222681-configure-different-supported-languages-06.jpeg)
Note: Users can choose any of the supported languages & voice names as mentioned in here. In the example, French language and female voice has been chosen.
Verify
Place a call into the subflow to make sure the right language & voicename is being heard.