https://retellai.com/?utm_source=discord&utm_medium=seo logo
If I change the language in my agent, do I need to...
# ❓・ai-evy-support
n
@AI Evy If I change the language in my agent, do I need to modify the prompt for it to work optimally? I'm noticing different pronunciation problems when I change the agent's language but use the same prompt.
a
Thanks for tagging me @nicottone. I'll look through relevant sources and get back to you shortly.
### Answer When changing the
language
parameter in your agent, you're modifying which language and dialect the speech recognition operates in [(1) ]() [(2) ]() [(3) ]() . The
language
field specifies the speech recognition optimization—for example,
en-GB
optimizes for British English, while
en-US
is the default . For pronunciation issues specifically, Retell AI provides the
pronunciation_dictionary
feature, which allows you to define custom pronunciations for words or phrases to guide audio synthesis . This can help address pronunciation inconsistencies across different languages . Additionally, the
normalize_for_speech
setting (when set to true) converts text elements like numbers, currency, and dates to their spoken form before audio generation, which can improve speech synthesis consistency . While the documentation doesn't explicitly state that prompts must be rewritten when changing languages, the pronunciation issues you're experiencing suggest that language-specific adjustments may be beneficial. Consider using the
pronunciation_dictionary
to define correct pronunciations for problematic words in your target language .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[2] List Voice Agents](https://docs.retellai.com/api-references/list-agents) [[3] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) ​