SupportedLocale element (SupportedLocalesDefinition complexType)

(SharePoint Add-in Manifest)

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

Specifies a locale that the add-in supports. This element is required for add-ins that are submitted to the Office Store.

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 SupportedLocaleDefinition
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Schema file appmanifest.xsd

Definition

    <xs:element name="SupportedLocale" type="SupportedLocaleDefinition" minOccurs="1" maxOccurs="256"></xs:element>

Warning

Although the maxOccurs attribute 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.

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

SupportedLocales

SupportedLocalesDefinition

List of locales that the add-in supports.


Child elements

None.


Attributes

Attribute

Type

Required

Description

Possible values

CultureName

CultureNameDefinition

required

The culture name of a locale that the add-in supports.

Values of the CultureNameDefinition type; for example, en-us.