This application translates texts back into the source language using AI.
Backtranslation with AI is a pre-export tool that takes translations created in Crowdin and converts them back into your project's source language using AI. Here's a simple example: If your project's source language is English and you have translations in Japanese (done by either human translators or AI), the Backtranslation app will translate the Japanese text back to English based on your configured AI settings. This lets you verify the accuracy of the translations. Backtranslation is particularly useful when working with languages you don't speak. For instance, if you're managing a project's localization but don't know Japanese, you can use backtranslation to check if the Japanese translations accurately capture your original meaning by comparing the backtranslated English text with your source content.
NOTE: Please note that AI translations are slow!
This app does some basic caching, but it would redo translations quite often. This can result in extensive use of AI tokens and slow translations export.
It's recommended that you manually enable and then disable back-translation to ensure that Crowdin is robust and AI tokens are not wasted.
The application registers a new API endpoint POST /settings
that allows the app settings to be edited.
Sample API call
curl --request POST \
--url https://<crowdin-organization-name>.crowdin.com/api/v2/applications/backtranslation/api/settings \
--header 'Authorization: Bearer e7e---your-token----a3f2' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 462,
"enabled": true,
"markUntranslated": true,
"prompt": 55
}'
or
curl --request POST \
--url https://<crowdin-organization-name>.crowdin.com/api/v2/applications/backtranslation/api/settings \
--header 'Authorization: Bearer e7e---your-token----a3f2' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 462,
"enabled": true
}'
The projectId
parameter must always be included. When setting up the app for the first time in a project, you'll need to provide a prompt
(AI Prompt ID in Crowdin). During this initial setup, both enabled
and markUntranslated
parameters are optional and will default to false if not specified.
Sample response:
{
"data": {
"enabled": true,
"prompt": 55,
"markUntranslated": true
}
}
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on Nov 11, 2024
Updated on Nov 13, 2024
Published by Awesome Crowdin
Identifier:backtranslation