Hi Etienne,
The runMenu mainPrompt field supports using SSML, so you could mix two different languages in the same prompt.
ace = %{
action: %{
name: "runMenu",
mainPrompt: "#ssml[<speak><lang xml:lang='fr-FR'>Bonjour ceci est un appel de #{caller}. Pour le service en français faite le 1.</lang><lang xml:lang='en-UK'>This a call from #{caller}. For service in English press 2.</lang></speak>]"
menus: [
%{
id: "main",
options: [
%{dtmf: 1, action: "menu(fr)"},
%{dtmf: 2, action: "menu(en)"}
]
},
# The rest of the menus definition.
]
}
}
This should work for you. You can read more about how to use SSML here.
Let me know if you have any other questions!
Thanks,
... View more