The Translations API gives you the translated strings for your component's text, such as button labels and messages, in the language the page is shown in. Use it so your component shows translated text instead of hard-coded strings.
With the Translations API, you can:
It's important to note the following points before starting to code:
To use the API, install the @wix/site-service-translations package:
Import any type shown in these docs from @wix/site-service-translations/types:
In a React component, resolve the service with the useService hook:
Last updated: 21 October 2026