🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

AI Translations

Translate fields and records directly on DatoCMS using AI

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

AI Translations

This plugin integrates with the OpenAI API and provides on-demand AI-powered translations for your fields. You can also optionally translate entire records.

47659

31841

Configuration

On the plugin’s Settings screen:

  1. OpenAI API Key: Paste a valid OpenAI API key. The plugin uses this key for translation requests.
  2. GPT Model: Select one of the available GPT-based models. Using gpt-4o-mini is recomended.
  3. Translatable Field Types: Pick which field editor types (single_line, markdown, structured_text, etc.) can be translated.
  4. Translate Whole Record: Decide if you want the sidebar feature that allows users to translate every localized field in the record at once.
  5. Prompt Template: Customize how translations are requested. The plugin uses placeholders like {fieldValue}, {fromLocale}, {toLocale}.

Save your changes. The plugin is now ready.

Usage

Field-Level Translations

For each translatable field:

  1. Click on the field’s dropdown menu in the DatoCMS record editor (on the top right of the field)
  2. Select “Translate to” -> Choose a target locale or “All locales.”
  3. The plugin uses your OpenAI settings to generate a translation.
  4. The field updates automatically.

You can also pull content from a different locale by choosing “Translate from” to copy and translate that locale’s content into your current locale.

Whole-Record Translations

If enabled:

  1. Open a record that has multiple locales.
  2. The “DatoGPT Translate” panel appears in the sidebar.
  3. Select source and target locales, then click “Translate Entire Record.”
  4. All translatable fields get updated with AI translations.

Excluding Models or Roles

  • Models to Exclude: You can specify model API keys that shouldn’t be affected by translations.
  • Roles to Exclude: Certain roles can be restricted from using or seeing the plugin features.

Troubleshooting

  • Invalid API Key: Ensure your OpenAI API key is correct and has sufficient usage limits.
  • Localization: Make sure your project has at least two locales, otherwise translation actions won’t appear.
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480