Create Language Prompt

Use the Create Language Prompt step to input a set of prompts corresponding to different languages.

You can use the Create Language Prompt step to adapt concatenating prompts to the sentence structures of different languages.

For example, a normal grammar sequence for an English sentence is Subject + Verb + Object. For a Japanese sentence, it is Subject + Object + Verb.

The selection of the prompt 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 returns the first prompt defined for the following languages: L[fr_FR], L[fr], L[en_GB], L[en], and finally L[ ].

The following table describes the properties of the Create Language Prompt customizer window:

Properties / Buttons

Description

Options (Languages and Prompts

Prompt expression names or prompt expressions and all the languages that have been entered.

Output Prompt

Script variable where the prompt that results from the Create Language Prompt step is stored

Add / Modify (buttons)

Use these buttons to access the Add Prompt dialog box. Use the dialog to specify the following:

  • Language—Variable or expression containing the language.

  • Prompt—Variable or expression containing the value for the prompt.

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 the Prompt information, highlight a value in the list and click Delete.