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

Unanswered Question
Jun 23rd, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
honniesr Mon, 06/23/2008 - 18:08

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.




This Discussion