[Resolved] Multilanguage descriptions, qTranslate
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>';
$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.
- The topic ‘[Resolved] Multilanguage descriptions, qTranslate’ is closed to new replies.