Mr Treublaan 1-3
1097 DP Amsterdam
The Netherlands

Multilingual Drupal and Paragraphs | 4 essential tips

Save time, frustration, and potential content loss.
09 May, 2023 Drupal

Home Blog Multilingual Drupal and P...

Drupal languages.jpg

The paragraphs module is still very popular. Even with Layout Builder in core, Paragraphs can still be a good choice to build flexible pages in Drupal. If you use it in a multilingual Drupal environment, here are 4 tips that can save you a lot of time and frustration in the future, also potential content loss.

1) Make sure to enable all (potential) languages at the start of a project

After enabling all necessary multi-lingual Drupal core modules 'Content Translation', 'Interface Translation' and ' Language' make sure you also enable the needed languages in /admin/config/regional/language

Also: enable the languages that you maybe want to use in the future. 

For collaboration and future production environments it's best not to change this anymore during a project. It is possible, but can cause quite some struggles.

2) Make sure to configure language detection method

Most used method is to prefix the path in your url with language abbreviation.

Go to /admin/config/regional/language/detection and hit 'configure' buttons:

Drupal Detection and selection


In these screens, make sure to add the language abbreviations:

Drupal URL language detection configuration

This is important, because as described: "Modifying this value may break existing URLs. Use with caution in a production environment." 

So best is to set this correct at the start of a project. As you see Drupal provides multiple ways to detect and select languages, in very flexible ways for both interface -and content language, but that is out of scope for this blog, sorry :)

3) Make sure Paragraph fields are set as translatable

So this is the most important part, if you don't do this in advance and content managers are going to 'translate' an item, changes are the translated fields will overwrite the originals, without noticing. That's something you want to avoid at all costs.

So.. go to /admin/config/regional/content-language and make sure to check Paragraph entity:

Drupal Content language


After that, check all Paragraph fields that you want translatable. For example in my paragraph 'Small Header' I want all fields translatable, so I can customise all fields per language:

Content language Drupal

4) Added paragraphs are always consistent per content item.

Also be aware: if you remove a paragraph in for example the original node of a content item (for example the English source), that paragraph will also be removed in all other translated content item that are attached.

Check all attached translations via the 'translate' tab:

Drupal Content language translate

Wrap up

Alright, that's it for now. Questions? Please let me know!

Drupal Planet Drupal
Written by Joris Snoek | May 09, 2023
Let's Talk

Please tell me all about your project!
Mail , or send a message:

Got some more time?

Related content
07 Jun, 2021 Drupal

Programmatically in multiple Views

02 Jun, 2021 Drupal

25 May, 2021 Drupal

With new features like: @-mentions, drag-and-drop images & general settings.