Support » Plugin: Portfolio Slideshow » Multilanguage descriptions, qTranslate

  • Resolved redywebs


    I have my site on various languages using the qtranslate plugin, and I needed to show translated descriptions for the slideshows.

    To be able to use the shortcode language tags in image descriptions, I had to change the code in shortcode.php:
    $slideshow .= '<div class="slideshow-description">'. wpautop( $description ) .'</div>';
    for $slideshow .= '<div class="slideshow-description">'. apply_filters( 'the_content', $description ) .'</div>';

    I’m aware to change plugins files is not the correct way as it would be overwritten when upgraded. But for now it solved the problem for me.

    It may help others too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks a lot !
    I was trying to use qtranslate with another plugin, the “slideshow” one, couldn’t make it, so I’ve downloaded the plugin you speak about (portfolio slideshow), put your trick and oufff ! It worked. Thank you.

    Oh, thank you very much redywebs!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multilanguage descriptions, qTranslate’ is closed to new replies.