Hi
I am trying to pronounce the digit in French, for example digit "24" should be pronounce as "vingt-quatre" in French. Tried several ways but could not able to found exact solution for this. Below is the sample code which i tried.
<prompt>
<speak xml:lang="fr-fr"><voice name="Juliette" gender="female">
24
</voice></speak>
</prompt>
This gives output as "twenty four" not "vingt-quatre".
Could you please help me to overcome this problem.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
English to French conversion
Re: English to French conversion
Hi Vishal,
Please make sure that the phone number you are using has been configured to use "AT&T Natural Voices 1.4" as the TTS Engine. To check this, you would log into your hosting account and go to Applications -> Application Configuration -> Edit for one of your phone numbers.
Also, within your code, instead of "fr-fr", you would want to use "fr_fr", as shown in the following example:
frenchexample.php:
Hope this helps.
Regards,
Plum Support
Please make sure that the phone number you are using has been configured to use "AT&T Natural Voices 1.4" as the TTS Engine. To check this, you would log into your hosting account and go to Applications -> Application Configuration -> Edit for one of your phone numbers.
Also, within your code, instead of "fr-fr", you would want to use "fr_fr", as shown in the following example:
frenchexample.php:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
?>
<vxml version="2.0">
<form>
<block>
<prompt>
<speak xml:lang="fr_fr"><voice name="Juliette" gender="female">
24
</voice></speak>
</prompt>
</block>
</form>
</vxml>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 10
- Joined: Tue May 14, 2013 3:17 am
Re: English to French conversion
Thanks a lot , this works as expected.