Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

AI → AI Translate Strings

AI-generated

Summary

Translate multiple strings using Crowdin Enterprise's AI translation features either by specifying a pre-defined AI prompt or by selecting an AI provider and model.

Inputs

  • Authentication — Choose between OAuth2 (recommended) or Access Token for authentication.
  • Strings (required) — An array of strings to translate, each up to 10,000 characters with a maximum of 500 strings per request.
  • Source Language Id — Identifier for the source language to translate from. If omitted, auto-detection is used.
  • Target Language Id (required) — Identifier for the target language to translate into.
  • Translation Memory Ids — Optional array of Translation Memory IDs to influence the translation.
  • Glossary Ids — Optional array of Glossary IDs to use during translation.
  • Style Guide Ids — Optional array of Style Guide IDs to apply during translation.
  • Instructions — Custom textual instructions to guide the AI translation process.
  • Attachment Ids — Up to 10 image storage IDs to provide additional context to the AI; only jpeg, jpg, png, gif, and webp formats allowed.
  • Ai Prompt Id (required) — Identifier of a pre-translation prompt to use for the translation request; cannot be used together with Ai Provider Id or Ai Model Id.
  • Ai Provider Id (required) — AI provider identifier to use for translation; must be used together with Ai Model Id and cannot be used alongside Ai Prompt Id.
  • Ai Model Id (required) — AI model identifier associated with the selected AI provider.

Output shape

A structured response containing translated strings generated by the AI based on the supplied input strings and translation context.

The operation supports two mutually exclusive methods for AI translation configuration: by selecting a pre-defined AI prompt or by choosing an AI provider and model. Each request returns translations for the input array of strings, respecting optional translation memories, glossaries, style guides, and custom instructions. The source language can be auto-detected if not specified. Attachments can be included for enhanced translation context.

Examples

Example 1: Translating strings with a selected AI prompt

Provide an array of strings, specify target language, optionally source language and translation memories, and select a pre-translation AI prompt ID.

Example 2: Translating strings with a specified AI provider and model

Provide an array of strings, specify target language, optionally source language and translation memories, and select both an AI provider ID and AI model ID.

Links

Discussion