Skip to main content
Entri’s AI translation engine uses frontier language models — Anthropic Claude and OpenAI GPT — to generate high-quality translations with context awareness. The AI reads the key name, description, any comments left by translators, and neighboring strings to produce translations that fit the tone and terminology of your project. Every AI translation includes a confidence score from 0 to 100. High-confidence translations (typically 85+) are production-ready in most cases. Lower-confidence results should be reviewed by a human translator before approval. The AI also respects your Glossary — terms marked as “do not translate” are kept verbatim, and approved translations for glossary terms are used consistently.

Endpoints

Supported Model IDs

Pass one of these values as the model parameter to override the project’s default: If model is omitted, the project’s preferredModel is used. If that is also unset, Entri falls back to claude-sonnet-4-6 (or the value of DEFAULT_AI_PROVIDER in your environment).

Check AI Status

Returns available providers and models for the organization:
Response:

Translate a Single Key

Generates a translation for one key in one target language. Uses the project’s preferredModel unless overridden with model:
Request body: Response:

Batch Translate

Translates all untranslated strings for a target language:
Request body: The synchronous batch endpoint returns when all keys are translated. For large projects use the streaming endpoint below.

Streaming Batch Translation

For large batches, use the SSE-based streaming workflow: 1. Start a job:
Response: { "jobId": "uuid", "total": 120, "skipped": 5, "totalKeys": 120, "page": 1, "hasMore": false } 2. Stream progress:
Events: start, progress (per key), complete, cancelled The complete event may include aborted: true with an abortReason string when the job stops early after repeated consecutive failures (e.g. an AI provider outage) — items skipped because of the abort are not counted in failed. 3. Cancel:

Key Notes

  • AI translation is available only when at least one AI provider key is configured for your organization.
  • The model used for each translation is recorded in the provider field of the response.
  • AI-generated translations are saved with source: "ai" and status translated. They are not automatically approved — a reviewer should check them before they are promoted to approved.
  • The AI uses your organization’s Translation Memory to stay consistent with previously approved translations.
Set a preferredModel in Project Settings → General → AI Settings to pick the best model for your project’s language pair and content type, without specifying it in every API call.