Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
  • #1227227

    Normaly enfold works with polylang plugin.
    But when i go to enfold setings and want to change for example the footer text: it change on all the languages not only the current one.

    Under WPML it’s easy, there a submenu on enfold settings to switch between languages.
    But with polylang, even if i select on the top black bare “english” and when making enfold setings changes it do it on all languages.

    Any ideas?


    More clearely:
    I need to change the footer copyright text for frech and for english
    But if i modify the text it modify for all languages.


    Probably it is connected ot the issue I just had. Did you try to deactivate CSS compression under Performance Enfold settings? That was in my case the reason why the CSS applied to all languages



    Thank you for the update.

    That is how the plugin works in the theme — a single theme option is applied to all languages unlike with WPML where there is a dedicated options page for each language.

    If you need to translate text from the theme options such as the copyright text, then you’re going to have to use the String Translation extension.

    // https://polylang.pro/doc/strings-translation/

    Best regards,


    Hi there, is there any update for translating footer and additional header-row when using polylang?
    Or, is there any example how to use the polylang String Translation extension in this case?



    You can use the Loco Translate plugin with Polylang for additional translation options.

    // https://wordpress.org/plugins/loco-translate/

    Best regards,


    Hi Ismael,
    I want to translate dynamic content in the so called additional header-row of enfold theme, as well as in the footer.

    Loco translate states:
    “What it’s NOT
    Loco Translate does NOT translate dynamic content
    Loco Translate only provides editing of static text stored in PO files. If you need to translate dynamic text stored in your database then it will not help you.”

    Did I miss something?



    I want to translate dynamic content in the so called additional header-row of enfold theme

    Would you mind providing a screenshot of these option or settings? You can use imgur, savvyify or dropbox. Thanks.

    Best regards,



    Thank you for the screenshot.

    Instead of adding the text directly in the field, we can create and use a custom shortcode that returns a specific text or content based on the active language. Please add the following code in the functions.php file.

    function av_polylang_header_cb($atts, $content = null){
        $text = "";
        $lang = pll_current_language();
        if($lang == "de")
            $text = "Text for DE language";
        } else 
            $text = "Text for EN language";
        return $text; 
    add_shortcode('av_polylang_header', 'av_polylang_header_cb'); 

    In the phone field or small info text field, use this shortcode.


    Best regards,


    Hi Ismael,
    thank you for the snippet!
    I will try it later.
    Best regards, Lona


    Works fine!
    Thanks a lot!


    Hi yolona,

    Great, I’m glad that Ismael could help you out.

    Best regards,

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.