• Resolved Antonios Konstantinos

    (@antonios-konstantinos)


    Hello,
    I use polylang 1.8 on avada theme 3.9.2. The site has three languages English,Finnish and Russian.
    There is a small bit of code in the header file of my theme to add the language bar on the upper right side of my website’s header.

    <div class="place-language-header-bar-2-the-right">
             <p>Language:</p>
             <?php pll_the_languages(array('show_flags'=>1,'show_names'=>1,'dropdown'=>1)); ?>
             </div>

    There are two problems that I encounter which I cannot figure out how to resolve.

    1)The default language of the site is English while Russian and Finnish are secondary options. When I change the default English (https://28548277.blog.com.gr/en/home/) language to Finnish (https://28548277.blog.com.gr/fi/etusivu/) or Russian (https://28548277.blog.com.gr/ru/%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F/) through the language bar, the page nicely changes to the corresponding language. But when I try to switch back to the default language this fails and the page remains in
    the secondary language. The same problem exists when I try to switch from one secondary language to the other. Finnish->Russian or Russian-Finnish
    To sum up the 1st problem:
    English ->Finnish(works)
    ->Russian(works)

    Finnish->English(does not work)
    ->Russian(does not work)

    Russian->English(does not work)
    ->Finnish (does not work)

    2)When I move the mouse over the field of the language bar to switch to another language, the mouse click must be precisely in the very right corner of language field box in order for the drop down menu with the other two languages to
    appear . If someone clicks inside the language field box the drop down language list does not appear which causes trouble to someone who tries to visit the site and change the language.

    I would appreciate your assistance.
    Regards
    Antonios Konstantinos

    https://www.ads-software.com/plugins/polylang/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Language switching mulfunction on Avada theme’ is closed to new replies.