POST

Create Locale


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.
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Wix Multilingual
Learn more about app permissions.
Method Declaration
Copy
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?