From Bright Pattern Documentation
Jump to: navigation, search
(→‎Set Prompt Language: fixing name "set prompt language" to "set language")
(Updates screenshots)
Line 1: Line 1:
 
= Set Language=
 
= Set Language=
 
The Set Language scenario block determines the language in which the blocks following this block will play their prompts. This block is typically used in the conditional exits of the [[scenario-builder-reference-guide/Menu|Menu]] block that offers a choice of languages to the caller. This block can also be used to determine the language in which the [[scenario-builder-reference-guide/Record|Record]] block will record shared voice segments.
 
The Set Language scenario block determines the language in which the blocks following this block will play their prompts. This block is typically used in the conditional exits of the [[scenario-builder-reference-guide/Menu|Menu]] block that offers a choice of languages to the caller. This block can also be used to determine the language in which the [[scenario-builder-reference-guide/Record|Record]] block will record shared voice segments.
 
+
[[File:Scenario builder set language block.png|left|frameless]]
 
 
[[File:Set-Prompt-Language-Block.png|225px|Scenario Builder Set Language scenario block]]
 
  
  
Line 11: Line 9:
  
 
Once the Set Language block sets the language, each subsequent block will play (or record) prompts in that language until another Set Language block changes the language.
 
Once the Set Language block sets the language, each subsequent block will play (or record) prompts in that language until another Set Language block changes the language.
 
+
[[File:Set language block in scenario example.png|center|thumb|800x800px|Setting the language for the scenario]]
 
 
[[File:Set-Prompt-Language.png|800px|thumbnail|center|Setting the language for the scenario]]
 

Revision as of 12:02, 18 October 2024

• 5.19 • 5.3 • 5.8

Set Language

The Set Language scenario block determines the language in which the blocks following this block will play their prompts. This block is typically used in the conditional exits of the Menu block that offers a choice of languages to the caller. This block can also be used to determine the language in which the Record block will record shared voice segments.

Scenario builder set language block.png


Note that each application you develop has built-in multilingual prompt management. You can add or remove languages using the Prompt Manager. Each prompt has versions for all languages defined in the system. By default, English is always defined.

The block has a drop-down list containing all languages defined for your scenario. You can enable additional languages for the scenario in the Prompt List dialog box. To configure the block, select the language in the drop-down list. The label of the Set Language block changes in the flowchart will display Set Language “[language]”.

Once the Set Language block sets the language, each subsequent block will play (or record) prompts in that language until another Set Language block changes the language.

Setting the language for the scenario
< Previous | Next >