Support » Plugin: qTranslate » [Plugin: qTranslate] Manual Language Switching

  • Hi.

    I’ve just started using qTranslate and it’s working fine. I made the necessary translations. Everything done.

    Except that I need the link for language switching. There are two language flags on my theme that I designed specifically for my theme. qTranslate only provides a widget but I need dedicated links.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Anyway I’ve found the solution.


    <li <?php if(get_locale() == 'uk_UA') { ?>class="active"<?}?>><a class="ukr" href="/ua/">UA</a></li>
    <li <?php if(get_locale() == 'ru_RU') { ?>class="active"<?}?>><a class="ru" href="/ru/">RU</a></li>
    <li <?php if(get_locale() == 'en_US') { ?>class="active"<?}?>><a class="en" href="/en/">En</a></li>

    o convert url from it Qtranslate search his is add in url ‘/en/’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: qTranslate] Manual Language Switching’ is closed to new replies.