Install the Divi Theme


Divi Theme Screenshot
  1. Download the Divi Theme ZIP file from your Elegant Themes account.
  2. In WordPress, go to Appearance → Themes → Add New.
  3. Click Upload Theme, choose the ZIP, then click Install NowActivate.

Set Up Polylang


Polylang Setup Screenshot
  1. Go to Plugins → Add New.
  2. Search for Polylang and install it.
  3. Run the setup wizard or go to Settings → Languages to add languages (English, French, Spanish, etc.).

Install Advanced Custom Fields (ACF)


ACF Plugin Screenshot
  1. Download the ACF plugin from the official site.
  2. In Plugins → Add New, upload the ZIP file.
  3. Click Install Now, then Activate.

Create a “Language Selector” Custom Field

  1. In the admin, go to Custom Fields.
  2. Click Add New and name the group Language Selector.
  3. Add a field:
    • Field Type: Select
    • Field Label: Page Language
    • Choices:
    en : EN
    fr : FR
    es : ES
  4. Set Location Rules → “Post Type is equal to Post”.
  5. Click Save.

Field Setup Screenshot

Build a Multilingual Template in Divi


Divi Theme Builder Screenshot
  1. Go to Divi → Theme Builder.
  2. Create or edit a template.
  3. Add your desired sections and modules.

Set Conditional Display Based on Language

  1. Open the settings of the module you want to show conditionally.
  2. Go to Advanced → Conditions.
  3. Add a new condition using Manual Custom Field Name:
Custom Field Name: page_language
Value: en / fr / es

Name the condition, enable it, and save.

Apply and Test the Language Selector


ACF Page Language Example
  1. Edit a page of the selected post type.
  2. Ensure the Page Language field is visible (check Screen Options if not).
  3. Select the appropriate language, add content, and save.
  4. Preview to confirm conditional display works.

Result: Multilingual Components in Divi

You now have a multilingual Divi component controlled by a custom field and displayed conditionally based on the selected language.
This setup combines the power of Divi’s Theme Builder, Polylang, and ACF—a scalable, low-maintenance solution for multilingual WordPress sites.