Create Language Grammar Step

Use the Create Language Grammar step to select a set of grammars based on the language context of the call.

Create Language Grammar Customizer Window

Grammar selection is based on the standard search for a matching language. For example, assuming a language context of {L[fr_FR], L[en_GB]}, the search would return the first grammar defined for the following languages:

  • L[fr_FR]

  • L[fr]

  • L[en_GB]

  • L[en]

  • L[ ]

Table 2-114 describes the properties of the Create Language Grammar step.

Properties / Buttons

Description

Options (Languages and Grammars)

Languages with their corresponding Grammar expressions.

This grammar can be the result of the Create Menu Grammar step or any grammar expression previously stored in a Grammar variable.

Output Grammar

Variable storing the language grammar information.

Add / Modify (buttons)

Use these buttons to access the Add or Modify Option dialog box. Use the dialog to specify the following:

  • Language—Variable or expression that stores the language name for the grammar.

Note

If you select the Expression button in the Add Option dialog box, the Define Language dialog box appears. Either select the desired language from the Language display list, or enter the name of the desired language in the User Defined text field.(Click OK to close the dialog.)

  • Grammar—Variable that stores the grammar information for the language

When done, click OK.

Note

An entry can be directly edited in the table list by double clicking on it. To sort the entries, click on the column header.

Delete (button)

To remove a language supported for the grammar, highlight a value in the list and click Delete.