getLocale( )


Developer Preview

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

Retrieves a locale by ID.

Permissions
Wix Multilingual
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
localeIdstringRequired

ID of the locale to retrieve.

Returns
Return Type:Promise<V2Locale>
Errors

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

Did this help?