Using bilingual announcement example

Last Updated : Sep 08, 2012 |
Prolog information
You can program a vector to support bilingual or multilingual announcements. The following table describes the example vectors and announcements.
Announcement
Description
3000
Announcement in English and Spanish asking users to choose between English or Spanish prompts.
1001
Greeting in English [Welcome ...]
1002
[Please enter your ID]
1003
[Please wait]
2001
Greeting in Spanish [Bienvenida...]
2002
[Incorpore su identificación]
2003
[Por favor espera]
Notice that the announcements are administered so that extensions starting with 1 are in English and extensions starting with 2 are in Spanish.

1. collect 1 digit after hearing announcement 3000 for A
     a. goto step 1 if A > 2
     b. route to operator if A <= 0
2. set B = A CATR 001 [B = A001, A = 1 or 2]
3. announcement B
4. set B = A CATR 002 [B = A002, A = 1 or 2]
5. collect 16 digits after hearing announcement B for none
6. queue to skill
7. set B = A CATR 003 [B = A003, A = 1 or 2]
8. wait .. hearing B then music
9. goto step 8 if unconditionally
Because you can append at the beginning of the string or at the end, you can place a language digit at the beginning or at the end of the string. This example places the language digit at the beginning of the string.