Prompt Against Translations FreeBeta
ByAwesome CrowdinVerified Author

Run your custom AI processing on translations to ensure quality and accuracy.

Install

About

Copy link

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

  • Checking community translations for vandalism, obscure language and hate speech.
  • Checking translations against specific corporate styleguides. Things like tone of voice, use of gender pronouns, etc.

This app should be considered more of an experiment.

API

Copy link

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."
  }
}

Screenshots

Copy link

Configuring AI translations check AI Translations Check

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
Categories
Manager Productivity
Works with
  • Crowdin Enterprise
  • crowdin.com
Details

Released on Mar 27, 2024

Updated on Apr 7, 2024

Published by Awesome Crowdin

Identifier:prompt-against-translations