Â
The Translation Published Content API allows you to query translated content that has been marked as ready to publish and listen for events when this content is created, updated, or deleted. Use the API to ensure that site visitors see the relevant translation for their locale, providing a seamless multilingual experience.
With the Translation Published Content API, your app can:
This API is based on Wix Multilingual.
It's important to note the following points before starting to code:
You can only query content that has been marked as ready to publish. This happens when:
"published": true
with the createContent()
or updateContent()
methods of the Translation Content API.published
status to true
.You can only use this API on sites where the Wix user has installed the Wix Multilingual app.