language Element

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

The language element defines the languages, as locales, for which the product installer files are provided. For example, if elements are included for Spanish and English, both the Spanish and English versions of the product installers are available for download.

Note

The Web PI version 2 supports the languages supported in Microsoft Developer Studio.

Schema Hierarchy

feed Element
  entry Element

Syntax

<language default="true">
  <languageId>en</languageID>
  <name resourceName="Lang_en_Name">English</name>
</language>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

default

When "true", indicates that the language specified is the default language for the feed or application.

The default attribute is used only to specify the default language. If it is not included, the language is not the default.

Child Elements

Element Description

languageId

Required element. Specifies an operating system locale, such as "en" for English. The name of the language associated with the locale is specified as the value of the name element.

name

Required element. Contains a string representing the display name for the language associated with the locale used as the value of the peer languageId element.

The resourceName attribute of the name element is used to define a resource variable for the language specified. For example, the value of the resourceName attribute is "Lang_en_Name" for English.

Parent Elements

Element Description

languages

Required element. Contains one or more language elements that define an operating system locale on which the application is supported.

See Also

Reference

entry Element