Freigeben über


Using the Project Wizard to Set the Application Language

  Microsoft Speech Technologies Homepage

Use the Speech Web Application Project Wizard to set the application language at the time the new speech application project is created. Application language can be set to any of the installed languages.

For more information about supported languages, see Installing a Language Pack.

To set the application language

  1. In Visual Studio .NET 2003, select New on the File menu, then click Project.
  2. In the New Project dialog box, select either Visual C# or Visual Basic in the Project Type pane, click Speech Web Application in the Templates pane, enter a meaningful name for the project in the Location box, and then click OK.
  3. In the Speech Web Application Project Wizard, click Application Settings in the left pane, and select a language using the Language drop-down list box in the right pane.

Selecting a language as described in the previous procedure changes the language setting for the following components.

Component Description
Default grammar library Provides a Library.grxml containing phrases localized in the desired language.
New grammar library Sets the value of the lang attribute in the file specified in Grammar file name.
Default .aspx Sets the value of the lang attribute.
Prompt project Sets the value of the language attribute in the project's .prproj file.

See Also

Languages and Speech Engines, Options Dialog Box | Selecting the Language for a Prompt Project | Creating Grammar Files | Recognizing and Prompting in Other Languages