Related products


Polylang > Support > Guides > How to use DeepL machine translation with Polylang Pro

How to use DeepL machine translation with Polylang Pro

🎯 Objective: Learn how to translate your content using DeepL machine translation integrated with Polylang Pro.

What is DeepL machine translation?

DeepL machine translation is integrated directly into Polylang Pro; all you need is a DeepL API key. You do not need to leave WordPress to generate translations. Once a translation is generated, you can manually review and edit it to ensure quality and accuracy.

Known limitations

Before enabling DeepL with Polylang Pro, please review the following limitations.

DeepL integration is not compatible with certain page builders

⚠️ The integration does not support content generated by certain page builders, including Elementor and Divi. This limitation is due to how these builders store content in the WordPress database

DeepL is also not compatible with the WordPress Site Editor (Full Site Editing). However, it works smoothly with content created in the Classic Editor and the Block Editor.

Machine translation is not bulk translation

⚠️ DeepL does not translate the entire website in one click.

Each item must be translated separately. DeepL works on individual content items only, and you will need to click on each individual item to use the machine translation, such as: 

  • Posts
  • Pages
  • WooCommerce products
  • Custom post types (CPTs)

Supported languages and API key limitations

  • A free DeepL API key lets you translate up to 500,000 characters a month.
  • You will need a DeepL Pro API key if:
example of remaining deepl quota
Example of available quota from DeepL

Technical requirements

To use DeepL with Polylang Pro, you need:

  • Polylang Pro version 3.6 or later
  • A valid DeepL API key (Free or Pro, depending on your needs)
  • Available DeepL translation quota (you can check your quota from the Usage DeepL tab or directly from Polylang’s Machine translation panel).

Translating content with DeepL

Enabling DeepL machine translation

  1. Go to the Deepl API section and choose your plan (Free, Pro, or Business) to generate an API key
the pricing of your choice in Deepl to generate the right api key
DeepL APIs Free-Pro-Business to generate the key – Source: DeepL

2. Create a key from the API Keys & Limits tab and rename it to find it easily. 

create a new api key with deepl
Creating a new API key – Source: DeepL

3. Copy the API key.

copy the api key to add it to polylang pro
Copy the API key – Source: DeepL

4. Go to Languages > Settings > Machine Translation and click on Activate

Activate the machine translation button with polylang pro settings panel
Activating machine translation with Polylang Pro

5. To link your DeepL account to Polylang Pro, click on Settings

The settings button to open machine translation and activate deepl
Machine translation settings with Polylang Pro

6. From the settings panel, you can:

  • Check the data you have used and your available quota left:
Example of remaining characters for machine translation
Checking my remaining data
  • Add your API key, then click Check connection to DeepL to verify the connection. 
add the deepl API key to polylang pro to use machine translation
Adding the DeepL API key to Polylang Pro
  • Define the level of formality (formal or informal).
choose the tone : defulat prefer formal or informal
Choosing the tone
  • Select a DeepL glossary from the dropdown menu if needed. It will tell the machine translation which terms require specific terminology (Coming soon: Available from Polylang 3.8).
the glossary section integrated to polylang pro
Choosing a glossary (connected to DeepL)

7. Click the Save Changes button. 

Translating posts, pages, and WooCommerce products

  1. Open the post, page, or product that needs translation, then click the DeepL icon in the language metabox to activate DeepL machine translation. 
activate deepl machine translation from the post
Activating DeepL for posts
  1. Click the + icon to use machine translation and have your post automatically translated into French.  
The + button to launch deepl and translate the post in French
The + button to start the machine translation
  1. Your post is now translated into French and created as a draft. If you are satisfied with the translation, you can publish it using the Publish button.
this is the translated post thanks to deepl
Translated post with DeepL
  1. You can manually edit the content to fine-tune the translation.
edit the deepl translation manually if needed
Manually editing DeepL translations with Polylang Pro

Updating content and its translation with DeepL

There is no automatic synchronisation between the original content and its translation. If you modify the original content after generating the translation, the translated version will not update automatically.

Example:

  • You have an English post called “10 things to do in Paris.”
  • You can generate the French translation with DeepL; the French post is created automatically. Later, you add this content to the post: “Update 16/2/2025: the museum is closed from January 2026 to March 2026”.
new content to the post
New content added to the post after translation

The French version will not be updated automatically, and DeepL will not translate the new paragraph.

the new content does not show up in french
Missing content in French

To update the French version, you must either:

  • Manually edit the French post and add the translation yourself.
  • Delete the translated post and regenerate the DeepL translation for the entire post. 
⚠️ Important: Before regenerating a translation, consider manually updating only the modified sections to avoid consuming additional DeepL credits.

Translating strings with DeepL (Polylang 3.7 and later)

⚠️ Only strings without existing translations are sent to DeepL. If you have already translated some strings, they will not be overwritten; your translation will stay intact. 

  1. Go to Languages > Translations > Machine Translations and select the Target language and filter by the group you want to translate.
using deepl to translate some of the theme strings
Example of theme options translations using DeepL 
  1. Press the Translate button.
the translate button to translate theme group with deepl
Translate button to translate theme options with DeepL
  1. All content from the Astra theme has been automatically translated with DeepL.
the french translations of the theme strings generated by deepl and polylang pro
Translated content from the Translations screen using DeepL
⚠️ Hint: Hardcoded strings do not appear in the Translations table. Tools such as Loco Translate are required to translate those strings.

Translating taxonomies with DeepL machine translation

If a post has a category attached, DeepL will translate it along with the rest of your content. This includes:

  • Automatic linking between taxonomy translations.
  • Creation of new translated terms when needed.

My English post is in the Romantic category; the French translation does not exist yet. 

my category in english
Category linked to my English post

When using DeepL to translate my post, the category is synchronized and translated: 

my category translated to french with deepl
Category automatically translated to French by DeepL (linked to my French post)
⚠️ Note: DeepL cannot translate a category independently. The category must be attached to a post or page, and it will be translated along with that content.

Translating custom fields and metadata with DeepL machine translation

Required configuration for ACF Pro

Custom fields from ACF Pro must be properly configured and set to translate in the Translation field.

ACF field translation setting set to Translate
ACF field translation setting set to Translate

How ACF Pro custom fields are handled with DeepL

With DeepL, you can, for example, translate labels, titles, and post types. 

  1. Go to Languages > Translations.
Select ACF filter to add the translations
The Translations Panel from Polylang Pro
  1. Scroll down to the Machine Translations section, select the target language, and make sure you are filtering the ACF Pro. Hit Translate.
translate ACF pro using deepl
The ACF Pro Machine translations section from Polylang Pro
  1. All the ACF Pro content is now translated into French. You can edit the translations manually if needed.
acf pro content translated with deepl and polylang pro
All the ACF Pro content is automatically translated into French with DeepL

Using DeepL glossaries (Polylang 3.8 and later)

A glossary in DeepL is a list of predefined translations for certain words. It allows you to control how specific content or expressions are translated by the machine translation. A glossary ensures that specific terms are always translated the way you define them. This is especially important for slogans, brand names, marketing tone, and technical terminology.

Good to know:

  • Glossaries are created and managed in the DeepL dashboard, not in Polylang Pro.
  • You need Polylang Pro 3.8 (coming soon) to choose the glossary you want to use for a specific site.
  • A single glossary can cover the entire site, as it may contain multiple language pairs.
  • A default glossary is usually created automatically by DeepL; all you need is to modify it.


1. Go to your DeepL account and from the Glossaries tab, create some new terminologies: 

Time flies → Ça passe vite (not le temps vole)
New Balance → New Balance (not nouvelle balance)

an example of deepl glossary that will be used on polylang pro
Creating a DeepL glossary from your DeepL account

2. From your WordPress dashboard, go to Languages > Settings > Machine Translation > Select your glossary from the drop-down menu and click Save Changes. DeepL will use this specific glossary when translating your content. 

select the deepl glossary to use in polylang pro
Choose the DeepL glossary you want to choose for your site from Polylang Pro

Machine translation best practices

  • Always review machine translations before publishing.
  • Monitor API usage to avoid exceeding your quota.
  • Use glossaries to maintain terminology consistency.
  • Plan manual updates when modifying original content.

Common questions

Why does DeepL not work with Elementor?

Because Elementor stores content in a format that the integration does not support.

Can I translate my entire site at once?

No. Machine translation works on individual items only.

Why are some languages not available with my API key?

Some languages require a DeepL Pro API plan. Check the official documentation to discover all the supported languages.

Can I edit the translation after DeepL generates it?

Yes. All machine-generated translations can be manually edited.

Can I translate Site Editor template parts?

Not yet.

Does DeepL automatically update translations when I edit the original content?

No. Once created, translations are not synchronised. You must manually update the translation or regenerate it entirely. If you regenerate it, you need to delete the whole translated post and restart the translation process. Be cautious when you do this, because regenerating a translation will use some of your DeepL credits again. 

Are internal links automatically updated?

No. Machine translation does not modify internal links. Links must be manually adjusted to point to the translated content.