Run your custom AI processing on translations to ensure quality and accuracy.
The purpose of this application is to run a ChatGPT prompt against each target language of each file in your project. You should have an OpenAI provider configured in Crowdin before using this app. After installing the app, it would show up as a new report in the projects of your choice.
The app can be consumed through the user interface or through the API.
In the UI you can select the languages you want to run the prompt against and project files. Of course you can also specify the prompt.
Some of the use cases where the app could be useful are
This app should be considered more of an experiment.
The application registers a new API endpoint GET /prompt-against-translations
. It requires a valid Crowdin API token and three GET parameters: project
, language
, file
.
curl --request GET \
--url 'https://<optional-crowdin-enterprise-org-id>.crowdin.com/api/v2/applications/prompt-against-translations/api/check?project=<project-id>&language=<language-code>&file=<file-id>' \
--header 'Authorization: Bearer XXXXXXXXX' \
--header 'Content-Type: application/json'
Example response:
{
"data": {
"result": "green", // or "red"
"message": "Comment from the AI"
}
}
{
"data": {
"error": "Missing required parameters. Please provide project, language, and file."
}
}
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 More