Okay
  Public Ticket #1491671
multi language support
Closed

Comments

  • Yaron started the conversation

    Hi, I’ve purchase Archi theme and add polylang plugin. from some reason I can’t see language switcher on forntend. I saw under Archi options >> Topbar Header Setings >> Multi-Languages. that I need to add shortcode multi-languages on right side of top header. where can I find this shortcode? is it reason why currently I can’t find language switcher?

  •  2,010
    Ocean replied

    Unfortunately, Polylang plugin not support shortcode, you can add php code in header.php file: http://prntscr.com/inwrjc

    https://polylang.pro/doc/function-reference/#pll_the_languages

    Using this php code:

    <?php pll_the_languages( array( 'show_flags' =--> 1,'show_names' => 0 ) ); ?>
    
  • Yaron replied

    Hi,

    I've follow your instruction but its not working out. can't find language switcher on header.

  •  2,010
    Ocean replied

    Hello,

    Please enable to show your topbar header: http://prntscr.com/iwchew

    If you have add php code in header.php file, but your backend theme option you "Off" topbar header.

    Thank you

  • edopico replied

    Thank you for this guidance - would this procedure work for Modis Salon theme as well?

    Many thanks

  •  2,010
    Ocean replied

    No, it's diffirent for each the theme.