Before you ask please READ THIS

Language selector

edited November 2014 in Fame Posts: 31
I use qTranslate Plus instead of WMPL for website translating. Can i set up the language selector like demo? so that visitor can choose language on the top bar aside free shipping.

Comments

  • AirAir
    Posts: 10,970
    Hello:-)

    There are no styles for this plugin, nor prepared backend for this. However I will mark this topic and check during this week what can be done.

    With regards.
  • Posts: 31
    look forward to hearing your reply!
  • AirAir
    edited December 2014 Posts: 10,970
    Hello :-)

    Sorry for delay, but here is the solution for you:
    Go to fame\advance\utilities\header.php line ~193 and just before
    
                        <?php
                        if($wpml_active){
    
    add this
    
    <li><a href="#">Language<i class="fa fa-caret-down"></i></a><?php echo ppqtrans_generateLanguageSelectCode('text'); ?></li>
    
    You can use this version to display current language also
    
    <li><a href="#">Language(<?php global $q_config; echo $q_config['language_name'][$q_config['language']] ?>)<i class="fa fa-caret-down"></i></a><?php echo ppqtrans_generateLanguageSelectCode('text'); ?></li>
    
    Should do it :-)

    With regards.
    Post edited by Air on
  • Posts: 31
    Thank you. Which file should be edited?
  • AirAir
    Posts: 10,970
    Ooops!

    Edited my answer:-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!