queryLocales( )


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 list of the site's locales, given the provided paging, filtering, and sorting. Up to 200 locales can be returned per request.

The default sort is locale.id in ASC.

For a detailed list of supported operations, see "Locale: Supported Filters and Sorting" (REST | SDK). To learn how to query projects, see API Query Language (REST | SDK).

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending()
languageCodeeq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending()
regionCodeeq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending()
visibilityeq(),ne(),exists(),in(),hasSome(),ascending(),descending()
primaryLocaleeq(),ne(),exists(),in(),hasSome(),ascending(),descending()
flageq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending()
regionalFormateq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending()
effectiveUrlStructureeq(),ne(),exists(),in(),hasSome(),ascending(),descending()
Permissions
Wix Multilingual
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Errors

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

Did this help?