We're using qTranslate for multilingual purposes on many of our sites.
I made a small amendment in gallery.php in order to make it work with this plugin.
Instead of
- Code: Select all
<p><?php $key="featuredtext"; echo get_post_meta($post->ID, $key, true); ?></p>
I put
- Code: Select all
<p><?php $key="featuredtext"; $output = get_post_meta($post->ID, $key, true); if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $output = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($output);
echo $output; ?>
</p>
Then in the custom field for featuredtext I put
- Code: Select all
[:se]Swedish text[:en]English text
since we're using english and swedish on this site.
You could do the same for title/h2.
Hope it helps someone.









