cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
765
Views
5
Helpful
4
Replies

IVR and 2 languages support

6rlopez_2
Level 1
Level 1

We want to use in the same script Spanish and English. The user can select if he wants to be attended in one language or another. how can we get this? For example: We keep all the prompts of both languages in the same directory?

How can you specify in which language is the input from a "Get Digit String" or "Simple recognition"?

Thanks

1 Accepted Solution

Accepted Solutions

Hmm, couple of issues there. First, Get Digit String doesn't use ASR. If you just want to play a prompt and have them enter numbers, you could use a Get Digit String and just specify a prompt recorded in Spanish. As to where the prompt is stored, that's up to you. You could put them all in the same default directory and just reference an Espanol or English prefix on the name or you could put them in different directories and specify this wherever you specify a prompt. An example of this would be:

P[espanol\promptName.wav] for the Spanish version or

P[promptName.wav] for English version assuming English is the default language.

If you wanted to change default prompt languages and paths to the directories, you could do this under Engine--> System Parameters.

Now if you want to play a prompt in Spanish and have it make a decision based on ASR, you'll have to setup a Grammar. When you setup the Grammar, you will specify there which language it should expect. Once the Grammar is configured, you'll specify it under a Simple Recognition step along with the appropriate prompt.

Is this what you were looking for?

Jim

View solution in original post

4 Replies 4

JimSJ
Level 4
Level 4

I may be misunderstanding the question, but how about this... You create all your prompts as Spanish001, Spanish002, etc, and English001, English002, etc. You play the option at the beginning of the script for which language they want. Based on the answer set a string variable (like strPromptPrefix) to either "English" or "Spanish". Then, for each of your menus, get digit strings, play prompts, etc, in the script list the prompt to play as strPromptPrefix + "001".

Is this what you were looking for?

Jim

This is not exactly my question. The issue is that there is a default language directory for the prompts (in Prompt Management page). i have to keep the English and Spanish prompts in the same directory? And when I use a Get Digit String step which language is the ASR going to understand? where I can change this?

Hmm, couple of issues there. First, Get Digit String doesn't use ASR. If you just want to play a prompt and have them enter numbers, you could use a Get Digit String and just specify a prompt recorded in Spanish. As to where the prompt is stored, that's up to you. You could put them all in the same default directory and just reference an Espanol or English prefix on the name or you could put them in different directories and specify this wherever you specify a prompt. An example of this would be:

P[espanol\promptName.wav] for the Spanish version or

P[promptName.wav] for English version assuming English is the default language.

If you wanted to change default prompt languages and paths to the directories, you could do this under Engine--> System Parameters.

Now if you want to play a prompt in Spanish and have it make a decision based on ASR, you'll have to setup a Grammar. When you setup the Grammar, you will specify there which language it should expect. Once the Grammar is configured, you'll specify it under a Simple Recognition step along with the appropriate prompt.

Is this what you were looking for?

Jim

sbordenave
Level 1
Level 1

Try this.

Very easy to use !