1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

How to switch language of frontend interface in Divi Visual Builder

Discussion in 'Free Divi Community Forum' started by Eduard Matús, Aug 7, 2019.

  1. Eduard Matús

    Eduard Matús New Member

    Hi,

    I´m working on a multi-lingual website (Czech, English, German) and I´m using Divi Visual Builder to edit the content.I would like to setup English as default language of the frontend interface of the Visual Builder.

    However, the interface switches to the language of the website´s version that I´m currently editing - i.e. if I´m editing Czech version of the site, the interface switches to Czech (see the attached picture).

    Can you please tell me, how to setup language of the frontend interface of the Visual Builder for all language versions of my website?

    Thank you
     
    neuromancer likes this.
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You might want to refer to official Divi support & see what they say: https://elegantthemes.com/members-area/help/
    **Though, I believe previously when I was using WPML, the builder will stay the same English language, no matter which language that I'm editing.
     
  3. Trajan

    Trajan New Member

    Hi, I've seen so much bad advice kicking around on this whole Divi language issue. There is an easy solution to change the language of the front end. Open up a post or page, in the top menu next to the update button (4th across on the image attached), you will find a button that changes the language. Click on this and you can change the front end language from the menu that drops down. Hope this saves people hours of reading bad advice and frustration.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  4. Milen Galabov

    Milen Galabov New Member

    Hi guys, I see the thread is old, but I was struggling today with similar issue and after few hours spent on searching of solution, I combined information from couple of forums and websites and I solved the problem in no time.
    So, in short - the issue is in the .mo files which Divi uses to translate the theme into different languages. They load from the moment you want to have main or additional language, different than English. So what I did is just to update the language file of the second language with the texts from the original English file, keeping the name of the second language (in my case Bulgarian, so the name of the file remained bg_BG.mo, but everything in it is in English, including the translations).

    I used this article as a tutorial what should be done:
    https://divitheme.net/modify-divi-translation/
    just keep in mind the quotes in the PHP snippet are not correct and you should rewrite them or you can use this one, which I already fixed:

    <?php
    function my_lang_function() {
    load_child_theme_textdomain( 'Divi', get_stylesheet_directory() . '/lang' );
    load_child_theme_textdomain( 'et_builder', get_stylesheet_directory() . '/includes/builder/languages' );
    }
    add_action( 'after_setup_theme', 'my_lang_function' );
    ?>

    I hope this will help to somebody. Cheers!
     
  5. Aji

    Aji New Member

    Hi all,
    To set the default language used in the Divi frontend, the simplest method is to edit your profile in WordPress and select your preferred language.
    Regards
    Aji
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo
  6. Amanda Dams

    Amanda Dams New Member

    Add this hook to fix this (it sets the Divi language to what the logged-in user set in their profile)

    PHP:
    function use_user_locale_for_admin_builder($locale) {
        if (
    is_user_logged_in()) {
            
    $user wp_get_current_user();
            if (
    in_array('administrator', (array) $user->roles)) {
                if (
    is_admin() || isset($_GET['et_fb'])) {
                    
    $user_locale get_user_meta($user->ID'locale'true);
                    if (!empty(
    $user_locale)) {
                        return 
    $user_locale;
                    }
                }
            }
        }
        return 
    $locale;
    }
    add_filter('locale''use_user_locale_for_admin_builder');