Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1087449

    Hi there

    I am using the latest version of Enfold and WPML.
    The search form labels are already altered from English to German, but if I switch to French now it is still German, for example this section in the file search.php:

    <div class='page-heading-container clearfix'>
                            <section class="search_form_field">
                                echo "<h4>".__('Erneut versuchen','avia_framework')."</h4>";
                                echo "<p>".__('Wenn Sie mit den folgenden Suchresultaten nicht zufrieden sind, versuchen Sie es bitte mit einem anderen Begriff.','avia_framework')."</p>";
                                echo "<span class='author-extra-border'></span>";

    How do I pass a language parameter there to detect the current language and therefore to display the labels in the correct language?

    Any help is very appreciated.

    Thanks a lot


    Hi Michael,

    Could you please install this plugin – and check if those strings are translated? I checked it on my local installation and text is displayed in corresponding language :)

    Best regards,


    Hi Yigit

    Thanks a lot.
    So it is not possible to solve my issue directly with Enfold & WPML?

    I don’t want to install a second translation plugin.




    You can install String Translation extension of WPML and search for the text in String Translation settings and translate it :)

    Best regards,


    Hi Yigit

    Oh boy – thank you so much. That was exactly what I was looking for.
    Did not know this feature from WPML, that’s great!

    You may close this thread now. Enjoy your day.




    Glad we could help Michael! Thanks, you too enjoy your day! :)

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Pass language parameter in search form (translate labels)’ is closed to new replies.