編輯

共用方式為


SupportedLocales element (PropertiesDefinition complexType)

(SharePoint Add-in Manifest)

Applies to: SharePoint Add-ins | SharePoint Foundation 2013 | SharePoint Server 2013

Specifies the locales that the add-in supports. This element is required for add-ins that are submitted to the Office Store. Its primary purpose is to populate the spstore UI with a list of supported locales.

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Element information

Information Location
Element type SupportedLocalesDefinition
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Schema file appmanifest.xsd

Definition

    <xs:element name="SupportedLocales" type="SupportedLocalesDefinition" minOccurs="0" maxOccurs="1"></xs:element>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

Properties

PropertiesDefinition

Contains information that is global to the add-in.

Child elements

Element

Type

Description

SupportedLocale

SupportedLocaleDefinition

Declares a locale that the add-in supports.

Warning

Although the maxOccurs attribute for the SupportedLocale element in the XSD for the add-in manifest markup is set to 256, the Office Store may set a lower effective maximum. As of the release of SharePoint 2013, there is an effective maximum of 25 SupportedLocale elements in the parent SupportedLocales element.

Attributes

None.