Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Replicated code to handle bi-lingual menus-Better way??

I have had to replicate the entire menu structure in our call script to support english and spanish prompts. I am certain that there is a more efficient way where I can conditionally play different prompts depending on a boolean or by using the built-in language capabilities. Does anyone have any examples or references in Cisco docs that might show how to accomplish this?

Thanks in advance.

1 REPLY
New Member

Re: Replicated code to handle bi-lingual menus-Better way??

This should work:

1) Create a Prompt variable called promptToPlay.

2) Set that variable via code just before the menu option to the correct prompt file. Set it via your IF or a switch statement based off of your boolean (or other variable type) to set the correct prompt.

3) In the menu option, set the prompt as promptToPlay.

Let me know if it works for you.

Thanks,

Robert

130
Views
0
Helpful
1
Replies
CreatePlease to create content