language

Specifies the language for synthesis. IETF language code or Vocalizer language name for a language.

Value

An IETF language code (for example, "en-US") or a Vocalizer language name (for example, "American English").

DEFAULT: (none)

How to set

Shown in precedence order (see Rules of parameter precedence):

Set in the session xml file for the application. Configure the <speechsynth> element located under <sessionparameters>, <speechserver>.

Set in a VoiceXML application, using the xml:lang attribute in the <vxml> element.

Set in the voice browser, using the Speech-Language header in a SPEAK, SET-PARAMS, or GET-PARAMS method.

Usage

Always used (specified in one form or another when creating the TTS instance).

Run "nvscmdline -V" to see the list of installed voices.

Example in a session.xml:

<speechsynth name=" ">
    …
      <param name="language"><value>en-US</value></param> 
    …
</speechsynth>