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

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
vishaltalentbeat
Posts: 10
Joined: Tue May 14, 2013 3:17 am

English to French conversion

Post by vishaltalentbeat »

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.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: English to French conversion

Post by support »

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:

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>
Hope this helps.

Regards,
Plum Support

vishaltalentbeat
Posts: 10
Joined: Tue May 14, 2013 3:17 am

Re: English to French conversion

Post by vishaltalentbeat »

Thanks a lot , this works as expected.

Post Reply