We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Spanish speech recognition

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jverweij
Posts: 79
Joined: Thu Apr 27, 2017 11:29 am

Spanish speech recognition

Post by jverweij »

We are going to be launching an ivr call in spanish and want to allow the member to speak "si" or "no" but are having trouble implementing that grammar recognition. Looking through the documentation we're not sure how to implement this. We're looking for assistance. Thank you!

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

Re: Spanish speech recognition

Post by support »

Hi,

When your application loads a grammar the system will use the current active language identifier in your document. The language identifier is controlled by the use of the xml:lang attribute which is defined in the <vxml> tag. You can set the xml:lang for the document by declaring your <vxml> tag as:

Code: Select all

<vxml xml:lang="es-US">
  ...
</vxml>
After declaring the xml:lang attribute any grammars loaded on that page will automatically use US Spanish as their supported language.

Regards,
Plum Support

Post Reply