$out .= '<p>' . apply_filters('uds-billboard-description', stripslashes($b['text']), $bb) . '</p>';
if(stripslashes($b['link']) != ''):
$out .= '<a href="'. apply_filters('uds-billboard-link', stripslashes($b['link']), $bb) .'" class="read-more">' . __('<!--:en-->Learn More<!--:--><!--:fr-->French Text<!--:-->', 'uds-textdomain') . '</a>';
endif;UrmasK wrote:Qian Qin wrote:qT does not parse HTML, so you will have to put the text through qT:
- Code: Select all
<?php _e('[:en]The Lutheran World Federation
[:de]Lutherischer Weltbund
[:fr]Fédération luthérienne mondiale
[:es]Federacíon luterana mundial'); ?>
This solution works perfectly trhoughout theme files.
<h2><?php comment_form_title( 'Sign My Guestbook', 'Sign My Guestbook to %s' ); ?>!</h2>
<?php if (qtrans_getLanguage() == 'en') : ?>english html here<?php else : ?>french html here<?php endif; ?>echo apply_filters('the_title', $category_name); // Since qTranslate is hooked to the "the_title" filter it will filter-out only the current language if available
echo __($category_name); // This uses the translator function "__()" - qTranslate is hooked to it as well and will try to display only the current language.Return to qTranslate Support Forum
Users browsing this forum: Google [Bot], Google Adsense [Bot] and 6 guests