Hi Will also try this:
Add this to your functions.php
function get_qTrans_TitleText($text) {
$language=qtrans_getLanguage();
preg_match('/<!--:'.$language.'-->(.*?)<!--:-->/', $text, $matches);
return strip_tags($matches[0]);
}
And then:
<?php echo get_qTrans_TitleText($text); ?>
Have no Idea what version of qTranslate and WP you have so you may even use __() to get the correct title or _e() to echo it.
Related Posts:
- WPML language tags (Qtranslate feature) [closed]
- HTML inside __() or _e() language translation string
- Change language by clicking a button
- Best WordPress Multi-language Plugin? [closed]
- Setting WPLANG from a plugin
- qTranslate get content by language [closed]
- How to determine current active language in qtranslate plugin? [closed]
- Is there a way to localize role labels?
- Translations does not work with .pot file
- Qtranslate + Advanced Custom Fields: how to have a multilanguage wysiwyg editor? [closed]
- WordPress For Urdu Language
- Getting translated string through a variable
- ‘Trick’ a plugin (WP-Members) to think the blog language has changed for a single page
- How to find when qtranslate plugin’s language changes? [closed]
- Translating my custom theme, always translated version?
- Website in multiple Language
- Can the qTranslateX-Plugin translate non-article text? [closed]
- WordPress Translation to french, at -> à not working
- Transposh Japanese language transaltion not showing up
- Setting WPLANG from a plugin
- Translation not working in sprinf variable
- Translate placeholder text in search field
- Best WordPress Localization Plugin? [closed]
- How to get a translated string from a language other than the current one?
- Translate widget titles using qTranslate plugin
- Localization: I want the backend: english and frontend in defined language
- How to debug failed load_theme_textdomain()?
- why is translation not working on theme?
- Changing the language of a single page
- WPML: getting page title in different language
- Disable qTranslate by post type in admin + disable per page / post ID on front-end [closed]
- Force Plugin to English Translation
- Having two different versions of the same post?
- What is better for wordpress performace?
- Set language per post
- WordPress | Sub-domain switching
- Multi-language permalink in qtranslate
- Checking current language in a function
- Make a custom theme translate-ready
- What is the purpose of adding a .po file?
- detect the language a post is written in
- Does changing ‘WPLANG’ in wp-config.php just effect the admin language or does it have other consequences?
- How to Translate Contact Form 7 using qTranslate? [closed]
- How to add just one page in Arabic
- Making a theme multilingual by adding a custom taxonomy to posts and pages called “Languages”?
- One of the messages in .po file doesn’t show up
- Multi-language module in WordPress or Google sites
- Qtranslate displays empty categories with get_categories()
- Custom Meta Field not Working with qTranslate [closed]
- Custom values are not translated
- Separate backend “Widgets” page for each language
- Put an extra check box on “Page Attributes” widget
- Plugin translations problem
- Trigger language change in WordPress
- How to change language file used by _e function
- Insights into WordPress Multi-Site, Domain Mapped, and Multilanguage site using WPML [closed]
- Get Polylang available languages on admin page of my plugin [closed]
- How to tell a theme to use different .mo and .po files?
- How to change language?
- Polylang get non-current language/s
- Why isn’t WMPL correctly redirecting users based on browser language? [closed]
- Language Translation is not working?
- WordPress multilingual site using page-id.php files
- How to find a language direction?
- How to have english digits in some posts with an rtl WordPress theme
- How WordPress knows where to find locale files?
- Two different domains for two different languages
- Prepare plugin options for multi-lingual support
- What is the correct way for multi-domain and multi-language website?
- How to change the language of the ‘Reset Password’ page
- How to reload wordpress textdomains at runtime
- Two language versions for each article
- How can I make a site viewable in multiple languages?
- How to set up WPLANG in wp-config.php for 4 languages?
- WordPress po files
- How to set a custom title per language?
- Using categories as multilingual mechanism
- How to use get_page_by_title() with qTranslate?
- Creating a custom multilingual form
- Were the language toggles removed from WP recently?
- WordPress Multilingual Theme using Multisite
- Should I include colon in my msgid in PO file?
- How to add LTR to a custom theme which in RTL by default
- Is it possible to temporarily override the language setting?
- make a mulitingual wordpress website Arabic-english
- How to use language files in plugins?
- Generate multiple goo.gl shortlinks for qtranslate bilingual blog
- Multi language site [closed]
- conditional (theme) language selection at ‘runtime’
- Simple Multilanguage Switcher
- How to have multiple site (UI) languages?
- How to merge two .PO language files?
- How to make a wordpress site multilingual by uploading a translated CSV file that has the traslations?
- How to translate WordPress Emails?
- can’t change a few lines of text to another language
- Country switcher, then option to choose language for that country [closed]
- Specific content by country in multiple languages
- WordPress Multilinigual
- how to remove language selection option from wordpress?
- WordPress translation loading english file