The Prompt Search Algorithm
Similar to the way it handles grammars, the script locates prompts by means of a standard language search algorithm based on the language context of the call.
For example, assuming a language context of {L[fr_FR_Judy], L[en_GB]}, a search returns the first prompt defined for the following directories:
-
...\fr_FR_Judy
-
...\fr_FR
-
...\fr
-
...\en_GB
-
...\en
-
...\default
Note | If no extension is provided, the system searches for files with the following extensions: .wav, .ssml, .tts, and .tpl (in that order). |
This type of algorithm allows you to place prompts that are common to all languages in the “default” directory, or place prompts that are common to all French languages in the “fr” directory. You can override these common prompts by placing a prompt with the same filename under a different directory, such as “fr_FR”.