About the Machine Translation APIs

The Multilingual Machine Translation APIs allow you to translate text content on a site from the primary language to another. With these APIs you can request translations and monitor your translation credits. Read more about managing translations in the Translation Manager.

The Machine Translation APIs include:

  • Machine Translation: Performs automatic content translations by calling an external translation service. Learn more about the Machine Translation API.
  • Credit Data: Provides a site's translation word credit balance and usage details. Learn more about the Credit Data API.

How they work together

The Machine Translation and Credit Data APIs are designed to work together. When a Wix user installs the Wix Multilingual app on a site, the site receives a free word credit quota. Each translation request consumes 1 credit per word, and the Machine Translation API automatically deducts credits when processing requests.

The typical workflow involves:

  1. Checking available credits using the Credit Data API.
  2. Performing translation using the Machine Translation API.
  3. Monitoring remaining credit balance for future planning.

Use case

Terminology

  • Machine translate: The process of using an external service to automatically translate text to other languages. Alternatively, a Wix user can manually translate their content with the Translation Manager.
  • Translatable content: Content that can be machine translated with the Machine Translate API. Learn more about translatable and untranslatable content
  • Word credit: A unit of translation capacity where 1 credit equals 1 word. Every site has a word credit balance indicating the number of words available for translation.
  • Quota: The total number of word credits allocated to a site, including initial allocation and any additional credits purchased through the Translation Manager. Currently, sites have a quota limit, with the exception of Wix Studio enterprise sites, which have an unlimited quota.
Did this help?