https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am encountering an issue where users have to cre...
# ❓・ai-evy-support
t
@AI Evy I am encountering an issue where users have to create separate conversational flows for different languages. Currently, the content within a single conversational flow is not automatically spoken in the AI voice agent’s selected or detected language during a call. Could you please help in resolving this issue?
a
Thanks for tagging me @tenacious_axolotl_09756. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, this is a known behavior with Conversation Flow agents using multi-lingual settings [(1) ]() . When using a multi-lingual agent in Conversation Flow, the language selection only persists for the current node and reverts to English when transitioning to subsequent nodes . Here are the recommended solutions: Solution 1: Extract and persist language as a dynamic variable Extract the user's preferred language into a dynamic variable (e.g.,
{{user_language}}
) after the first node . Then, add this instruction at the top of every subsequent node :
Copy code
Always speak in {{user_language}} throughout this node.  
Assume the user only understands {{user_language}}.  
Only listen for and recognize speech in {{user_language}}.  
Transcribe and interpret the caller's response exclusively in {{user_language}}.  
Do not use English unless {{user_language}} is explicitly set to "English".
Solution 2: Use agent swapping Create separate agents for each language (e.g., English, Spanish, French) and use agent swapping to switch to the appropriate language-specific agent based on user preference . While this requires maintaining multiple agent copies, it provides cleaner language separation . Configuration Note: In the global settings, you can select the language the agent will understand for user audio [(2) ]() . You need to write in the prompt something like "respond in Spanish" for the agent to respond in a specific language . If user audio can be in multiple languages (e.g., both Spanish and English) , select the "multi" option to allow the agent to understand both .
​ To learn more, see the sources I considered: [[1] Language Switching](https://discord.com/channels/1186424376300679209/1397465772074467338) [[2] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.