POST

Create Locale


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a new secondary locale.

This method adds a new secondary locale to the site. A site can have up to 200 locales and up to 100 visible locales.

To retrieve a list of all locales supported by Wix that can be created on a site, call List Supported Locales.

Important:
  • This method can only be called on sites where multilingual mode is enabled.
  • This method creates only secondary locales. To create and set a new primary locale, call Create New Primary Locale.
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?