Captions &?Descriptions in gallery
-
Hi, I would like to have multilangual descriptions and captions in gallery. It doesn’t work with [:fi] something finnish [:en] something english. I had to replace some code in media.php:
if ( $captiontag && trim($attachment->post_excerpt) ) { $output .= " <{$captiontag} class='wp-caption-text gallery-caption'> " . wptexturize(__($attachment->post_excerpt)) . " </{$captiontag}>"; }
for
if ( $captiontag && trim($attachment->post_excerpt) ) { $output .= " <{$captiontag} class='wp-caption-text gallery-caption'> " . qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($attachment->post_excerpt) . " </{$captiontag}>"; }
as I read in a forum.
Is there some sustainable way of being able to translate the image information?
- The topic ‘Captions &?Descriptions in gallery’ is closed to new replies.