Knowledge Base

Documentation to help you use the POEditor localization platform effectively

AI translation

Owner

AI translation in POEditor uses your own account with an LLM provider (OpenAI, Anthropic Claude, Google Gemini, Azure AI or Amazon Bedrock) to translate strings, adjust existing translations and evaluate their quality. You connect the provider once, then use it in any project: string by string, in bulk, or in workflows.

How to set up an LLM for AI translation

To get started, go to Integrations and choose your preferred provider.

AI integrations - POEditor localization platform

Enter the API key for your account with that provider, confirm that you understand this is an experimental module, and click Connect.

On the provider's page, choose the model you want to use. You can also set this integration as the default for AI translation at your account level, and change it later in your account or organization settings.

AI integration settings - POEditor localization platform

You can allow the contributors assigned to your projects to use the LLM set up on your account/organization with the Contributors Can Use Your AI Integration option.

How to customize your AI translation prompts

The default prompts for the AI integrations are optimized for performance, while keeping costs low.

We highly encourage you to customize your prompts to best suit your needs.

On the provider's page, the Add custom prompt option lets you edit the default translation prompts (Translate, Translate Plural, Translate Bulk) and adjustment prompts (Formal, Simplify, Shorter, Rephrase, QE Fix), and add new adjustment prompts of your own.

AI Integration Settings - POEditor localization tool

Each prompt type has a purpose and a set of placeholders that need to be used.

Translation prompt types:

  • Translate - used to translate singular forms, when translating strings one by one in the language pages. The placeholders you should use are {source_language}, {source_translation}, {target_language}.
  • Translate Plural - used to translate plural forms, when translating strings one by one in the language pages. The placeholders you should use are {source_language}, {source_translation}, {target_language}, {form}.
  • Translate Bulk - used to translate multiple strings in one go in the language pages and in workflows.

Adjustment prompt types:

  • Formal - used to make existing translations more formal
  • Simplify - used to make existing translations simpler
  • Shorter - used to shorten existing translations
  • Rephrase - used to rephrase existing translations
  • New adjustment prompt - used for custom adjustment prompts
  • QE Fix - used to fix existing translations based on the issues detected by Quality Evaluation.

All adjustment prompts must contain the placeholder {target_translation}

Good to know:

  • If you have plural forms enabled for the terms in your project and want to customize the translation prompts, you'll need to fill in both the Translate prompt (used to translate strings without plural forms) and the Translate Plural prompt (used to translate plural forms).
  • Aside from the Translate and Translate Plural prompts, all the other prompts are used for adjustment, for existing translations.
  • If a glossary is assigned to your project, its terms with target-language definitions or those marked as untranslatable are automatically included in both translation and adjustment prompts for the integrated LLM.

How to translate and adjust individual strings with AI

To translate an individual string with AI, go to any language and click in an empty translation box to see the Translate with AI option.

Translate with AI (language page) - POEditor localization platform

After an initial AI translation is generated, you can ask the AI to rewrite it according to your needs.

AI translation (Language page) - POEditor localization platform

You can also edit existing strings with the option Edit with AI.

Edit with AI (Language page) - POEditor localization platform

How to bulk translate strings with AI

To translate multiple strings with AI or even multiple languages, use the AI option at the top of the Language page.

Translation Options (Language page) - POEditor TMS

For better accuracy, you can give the LLM more details about what it's translating in the AI Integration Settings.

Bulk translate with AI - POEditor localization platform

In Advanced Settings you can specify the group of strings you want translated, filtering them by tag. All translates the strings carrying every selected tag, Any the ones with at least one of them, and Exclude all strings except those with the selected tags, untagged ones included. Only the strings without translations are translated.

AI bulk translation (Language page) - POEditor localization platform

Check and fix AI translations

After AI Translation, use Quality Evaluation to score the translations and Fix with AI to correct the issues it detects. A fixed translation has no score until you run Quality Evaluation again. In a custom workflow, a Quality Evaluation step placed after a QE Fix step re-evaluates the fixed translations.

Additional help

Related articles