Polylang Connect for Elementor – Sélecteur de langue & ajustement de modèles


Connect the Polylang multilingual plugin with Elementor Page Builder: This plugin will make Elementor and Polylang show the correct language templates, especially with Elementor Pro Theme Builder. Plus: native Polylang Language Switcher Elementor widget, new Dynamic Tags, and Polylang links added to the Elementor Finder feature.

⚡ Try the new Version 2.0 ⚡

If you are starting with a new project we recommend using the new version 2.0 (it’s in beta phase but with it you will not lose the changes you make when the final version is published).

Download v2.0 beta (more info)

Qu’est ce que fait l’extension ?

  • Shows the correct Template (for different languages): Polylang Connect for Elementor allows Polylang to show the correct Elementor template to be displayed on the front end. Before this plugin, Elementor did not show the correct language (translated) template.
  • Beyond enabling the Elementor post type in Polylang settings, plus assigning every post/page/template to a language, no further settings are needed for these template tweaks. It just works out of the box. All the heavy lifting happens under the hood.
  • Usage Example:
    • Make a header template in Elementor, set display conditions in Elementor panel, assign this to one language (English for example)
    • Make a second header template in Elementor, set NO display conditions for this one (by assigning 2 of the same display conditions, you can create a conflict in Elementor), but assign to another Polylang language (Portuguese for example), meaning to link those languages/templates in Polylang.
    • Result: when viewing in frontend the proper English content appears with the English header template, translated content in Portuguese appears with the Portuguese header template.
    • Go on: The principle is always the same, now add German language, Spanish and so on 😉
    • Voir la demo en ligne sur le site du cocréateur de l’extension // Captures d’ecran

Plus: Even More Features

  • Polylang Language Switcher Widget: A native Elementor Widget to easily build a nice language switcher menu and have more styling options for non-coders at hand
  • Elementor Finder integration: Adds Polylang languages, admin settings links, plus support resources as quick jump links to the Elementor Finder feature (Elementor v2.3.0+) – so you can navigate more quickly from whereever you are
  • Dynamic Tags in Elementor Pro: Polylang Language Names (all registered/active) / Current Language Name / Current Language Code / Current Language Flag (image) / Current Language URL

Further Plugin Info

  • More features might be added in the future.
  • Community collaboration between David Decker and Brad Johnson, and more code coming from the Elementor/ Polylang community
  • Plugin website: https://polyglotwp.com – please sign up for our newsletter

Où obtenir de l’aide ?

  • Polylang User Community Group at Facebook – highly recommended for all users of this plugin!
  • Nous surveillons le forum de support de l’extension ici sur WordPress.org – mais notre canal de support préféré reste le groupe de la communauté Facebook.
  • What is covered by our support? – All regarding THIS plugin (« Polyang Connect for Elementor »), plus the relation to Polylang, Elementor and Elementor Pro of course.
  • What is NOT covered by support? – Anything general regarding multilingual topics and WordPress. Explicitely we DO NOT offer any « WPML », « WPBakery » or « Visual Composer » support, and also not for your theme etc.!!!


  • English (default, en_US) – always included
  • German (de_DE) – always included
  • German formal (de_DE_formal) – always included
  • .pot file (connect-polylang-elementor.pot) for translators is also always included 🙂
  • Easy plugin translation platform with GlotPress tool: Translate « Polylang Connect for Elementor »…

Retours d’expérience


Enjoy using Polylang Connect for Elementor? Please consider making a donation to support the project’s continued development.


Credit where credit is due. The following code/ classes, all licensed under the GPL. Note: Credit is also referenced in the code doc block inline where used.

  • Polylang Switcher class (Elementor Widget) and its CSS based on widget from plugin « Language Switcher for Elementor » by Solitweb (GPLv2 or later)

Liens de l’extension

Captures d’écran

  • Ensure that my templates is ticked in Polylang post types and Taxonomies. Although the plugin will automatically tick this for you 😊

  • Header Template in Elementor showing that they have both been translated

  • Polylang Widget in Elementor under Site

  • Options du widget Polylang dans Elementor

  • Options de style du widget Polylang dans Elementor

  • Set your primary language display conditions for your primary language

  • DO NOT SET A DISPLAY CONDITION FOR ANY OTHER LANGUAGE ---> Polylang will do this for you. Save without conditions

  • (1/2) Working language header templates on the front end. Styled by the widget. Previously this was not an option in Polylang. (other than editing the menu options) Polylang users could not display language codes but now they can 😉. Thanks to Polylang Connect for Elementor.

  • (2/2) Working language header templates on the front end. Styled by the widget. Previously this was not an option in Polylang. (other than editing the menu options) Polylang users could not display language codes but now they can 😉. Thanks to Polylang Connect for Elementor.

  • Réglages des URL Polylang si vous avez des problèmes avec des modèles traduits


Minimum Requirements

  • WordPress version 4.7 or higher
  • Elementor and Polylang plugins – free versions from WordPress.org Plugin Directory
  • Optional: Elementor Pro which is needed for Theme Building possibilities (Header templates etc.). This is a paid premium product by Elementor LTD, available via elementor.com
  • PHP version 5.6 or higher
  • MySQL version 5.0 or higher

We Recommend Your Host Supports at least:

  • PHP version 7.3 ou supérieure
  • MySQL version 5.6 or higher / or MariaDB 10 or higher


  1. Install using the WordPress built-in Plugin installer (via Plugins > Add New – search for connect polylang elementor), or extract the ZIP file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Polylang > Settings > Custom post types and Taxonomies, enable the « My Templates » post type (Elementor)
  4. Assign languages to your pages/ posts/ Elementor templates
  5. For Elementor templates: set display conditions in Elementor for one template only (your main language is recommended) – templates in the other languages will then get loaded via this plugin magically! 🙂
  6. Additionally use the native Elementor Widget: Polylang Switcher


Où obtenir de l’aide ?

At best in our Polylang User Community Group at Facebook – highly recommended for all users of this plugin!

Additionally, we also monitor the plugin’s support forum here on WordPress.org as well – but our preferred support channel is the FB community group.

  • What is covered by our support? – All things regarding THIS plugin (« Polyang Connect for Elementor »), plus the relation to Polylang, Elementor and Elementor Pro of course.
  • What is NOT covered by support? – Anything general regarding multilingual topics and WordPress. Explicitely we DO NOT offer any « WPML », « WPBakery » or « Visual Composer » support, and also not for your theme etc.!!!

Il ya t’il une demo ?


Voir la démo en ligne

Plus: Plus grosses versions de ces captures sur notre site 😉

Recommended Workflow?

  1. Setup Polylang at first, add at least TWO languages, one of them make your default language (in Polylang)
  2. Add content to your default Polylang language – if Polylang asks you to apply existing content to it, you should most likely click « ok » and proceed – it works really fine 🙂
  3. After that setup an Elementor Theme Builder template – asign it to your Polylang default language, apply conditions in Elementor
  4. Ensuite, configurez un modèle de traduction pour le modèle de 3). — assignez votre seconde langue Polylang, n’appliquez pas les conditions dans Elementor

Réglages de Polylang recommandés

Si vous rencontrez des problèmes d’affichage avec vos modèles, pages, contenus traduits, il est recommandé de vérifier vos réglages :

Dans les Paramètres de Polylang, Langues > Paramètres > Modificatons URL, réglez sur l’option suivante : « La langue est définie à partir du nom du répertoire dans les permaliens » (voir la capture d’écran)

Et dans le cas ou tout fonctionne bien avec vos paramètres actuels, alors n’y touchez pas. La recommandation ci-dessus peut être nécessaire pour certains utilisateurs/installations mais pas nécessairement pour tous.

Est ce que Elementor Popup Builder est compatible ?

It most likely will work totally fine if you follow our recommended workflow (see above). If not, please ask in our FB user group.

Correct Elementor template does not show up?

Every page/ post/ template must be assigned a language for this to work. This is standard Polylang procedure but it should be noted in case « it doesnt work ».

Also, for Elementor Templates, the post type must be enabled for Polylang support: Go to Polylang > Settings > Custom post types and Taxonomies, enable the « My Templates » post type (Elementor).

Where is the Elementor Widget to be found?

It’s in the widget category « General Elements ». Plus, if Elementor Pro is active and you’re editing a template, the widget additionally appears in the « Site » widget category.

Always via search: When searching for widgets type « polylang » or « languages » and it will show up immediately! 😉

Where is the plugin’s settings page?

This plugin has NO settings page, as it does not need one. All it does works just under the hood. Activate the plugin. Done.

(If there will be settings needed in the future, we might add options in later plugin versions.)

Elementor Pro est il nécessaire ?

Techniquement, Elementor Pro n’est pas obligatoire – mais fortement recommandé, cependant.

Elementor Pro est nécessaire pour ces fonctionalités dans l’extension :

  • Translating Elementor Theme Builder Templates the version is required, otherwise this will not work.
  • Balises dynamiques, ajoutées par l’extension

Pour les autres fonctionalités de l’extension, la version gratuite d’Elementor est suffisante. Donc le widget sélecteur de langue natif d’Elementor fonctionnera sans problème 😉

Is Polylang Pro supported?

Yes, it is! 🙂
All features of « Polylang Connect for Elementor » work with both, Polylang (free) AND Polylang Pro (Premium).

Are custom flags supported?

In general, custom flags are supported in the Polylang Switcher Elementor widget and in the Dynamic Tag (Current Language Flag).
However, the default flags in Polylang are sized 16px wide and 11px high, this automatically applies to custom flags – as it is fully handled internally by Polylang.

To use a different size for custom flags we are trying to find ways to implement this for Elementor in future versions of this plugin.

Typography and uppercase settings?

In the Polylang Switcher Elementor widget there are typography settings available for the Switcher menu items. These settings are CSS based of course, and applied « globally » to the various states they are for: normal, hover, active (current language). The available toggles for uppercase are done code-wise and therefore have a lower priority – this means the CSS always takes over, if wanted. That way you are most flexible with quick settings (toggles) but have all styling options at hand if needed.

Est ce que l’extension Elementor est nécessaire ?

Oui, sinon ce connecteur ne fera rien du tout. La version gratuite d’Elementor est disponible sur WordPress.org

The Elementor Pro Add-On plugin is needed for the Theme Builder capabilities (for example Header templates), plus the feature of « Dynamic Tags ». So it is highly recommended. But if it is not installed/ activated, the depending features from the connect plugin won’t even load. So it is all optional.

Le widget de sélecteur de langue ne nécessite que l’extension gratuite d’Elementor pour fonctionner 😉

Other recommended plugins for multilingual websites?

There are quite a few:

More info on Translations?

  • English – default, always included
  • German (de_DE): Deutsch – immer dabei! 🙂
  • For custom and update-safe language files please upload them to /wp-content/languages/connect-polylang-elementor/ (just create this folder) – This enables you to use fully custom translations that won’t be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like connect-polylang-elementor-en_US.mo/.po to achieve that (for creating one see the following tools).

Easy WordPress.org plugin translation platform with GlotPress platform: Translate « Polylang Connect for Elementor »…

Note: All my plugins are internationalized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating and validating I recommend the awesome « Poedit Editor », which works fine on Windows, macOS and Linux.


15 décembre 2021
A year ago, I built a site with Elementor Pro, and that is a dual languages site. Noticed that Polylang is only for content. Not working with header and footer. Thanks Polylang connect for Elementor! It saved my time. I hope you can build a connector for Zion Builder.
9 novembre 2021
Greatly improves the capabilities of Polylang. It would be, in fact, quite useless for Elementor users if it weren't for this plugin. It's smooth, lightweight and works great.
21 septembre 2021
This is working out of the box. Really solid and easy integration. Everything just works even though at this point of time I installed latest beta2 version (final version coming in the future). Everything is smooth, no need for complications this just simply works and there's a new nice widget. There is one small quirk but this may be up to my theming - I need to investigate. Main menu typography. Normal, Hover and Active. In editor everything appear normal but on the frontend it seems that Normal color (set to custom) is not respected. Hover and Active seems ok. But this is not an issue which I can not deal with. Anyway awesome plugin for connecting to Polylang.
27 avril 2021
Perfect little plugin, the author made a really great service to the community, it is perfect to fit for poyllang and elementor, thanks a lot !
Lire les 40 avis

Contributeurs & développeurs

« Polylang Connect for Elementor – Sélecteur de langue & ajustement de modèles » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


“Polylang Connect for Elementor – Sélecteur de langue & ajustement de modèles” a été traduit dans 4 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Polylang Connect for Elementor – Sélecteur de langue & ajustement de modèles » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.


1.0.6 – 2021-06-05

  • Fixed PHP notice undefined ‘post_type’.

1.0.5 – 2021-05-17

  • Fixed Elementor editor don’t load with Global Widgets in secondary language.

1.0.4 – 2021-04-30

  • Translated templates with conditions for categories/tags also works with translated categories/tags.
  • Fixed PHP notice on activation

1.0.3 – 2021-04-27

  • Ensure Theme Builder conditions for all languages (prev. version only saves main language conditions)
  • When a template is a translation override with empty conditions

1.0.2 – 2021-04-26

  • Fix Elementor template display conditions reset
  • Fix wp-cli error languages undefined
  • Fix Elementor deprecations
  • Added Elementor Landing Pages CPT translatable
  • Added JetEngine Listing CPT translatable
  • WordPress PHP Coding Standards

1.0.1 – 2020-06-17

  • Stability update for edge cases were experiencing fatal errors
  • Thanks to sebastienserre for correct fatal unknow pll_the_languages();

1.0.0 – 2018-11-28

  • Official public release on WordPress.org

0.9.1 – 2018-11-27

  • First Release Candidate (RC) version
  • New: Automatic enabling of Elementor My Templates post type for Polylang support
  • Tweak: Code improvements throughout
  • Tweak: Inline documentation and PHP doc improvements

0.9.0 – 2018-11-26

  • Second beta version
  • New: More settings for Polylang Switcher widget
  • Tweak: Improved Dynamic Tags additions
  • Tweak: Improved Elementor Finder integration

0.8.0 – 2018-11-25

  • First beta version
  • New: Added native Elementor Widget – Polylang Language Switcher
  • New: Added Dynamic Tags for Polylang (requires Elementor Pro)

0.7.0 – 2018-11-24

  • Second alpha version
  • New: Added Elementor Finder integration for Polylang plugin links and resources
  • New: Make plugin translateable – added German translations
  • New: Added Readme file, plus composer.json
  • New: First public alpha release on GitHub

0.5.0 – 2018-10-30

  • Plugin idea by Brad
  • First alpha version by David
  • New: Template tweaks work in form of plugin code – coding standards improvements