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?
- Localization: I want the backend: english and frontend in defined language
- WPML: getting page title in different language
- Force Plugin to English Translation
- Set language per post
- WordPress | Sub-domain switching
- Multi-language permalink in qtranslate
- Checking current language in a function
- What is the purpose of adding a .po file?
- detect the language a post is written in
- How to add just one page in Arabic
- Making a theme multilingual by adding a custom taxonomy to posts and pages called “Languages”?
- Multi-language module in WordPress or Google sites
- Qtranslate displays empty categories with get_categories()
- 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
- How to tell a theme to use different .mo and .po files?
- How to change language?
- 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 WordPress knows where to find locale files?
- 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?
- WordPress po files
- Using categories as multilingual mechanism
- How to add LTR to a custom theme which in RTL by default
- Is it possible to temporarily override the language setting?
- How to use language files in plugins?
- conditional (theme) language selection at ‘runtime’
- 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?
- WordPress Multilinigual
- Switch site language to en_ZA
- Multilingual website without third-party plugin
- I display messages using code snippets but how can I use the right language?
- How to set a dual language site in wordpress?
- WordPress and Localization
- Problems character encoding for pages in multiple languages
- Plugin translation not working on WordPress.org
- How to get Post title by locale with Qtranslate-X
- Change language for each website using multisite
- Why .mo .po files are not working with my site?
- how to change fonrs for Indian reqgional language?
- Multilingual website with different content and look
- Language setting for Specific WordPress Page
- Localisation and WordPress
- Multilanguage backend interface
- Conditionally change WordPress core language
- How to make a wordpress blog in two different languages?
- how to remember specific action/event for current user?
- Multi Language and Multi Theme WordPress
- WordPress multi language works in local host but not in the live site?
- Japanese characters not showing properly
- How to use translation functions inside WordPress page
- How to load rtl.css file without changing lanuage to persian in wordpress?
- Hijack site url on sub domain for translation
- Create a category in different language?
- qTranslate get content by language using wp_query
- Having problem in using wordpress with an other language
- Multi language site using only .mo and WPLANG
- Multilingual website suggestions
- multi-language WordPress site
- What is the best option to convert my WordPress website to French Language?
- category title and description in multi language issue
- How to translate the blog date in the Avada theme [closed]
- white space appears when switch to rtl
- Website Language/Locale Switching
- How to make WP in two languages (e.g. English & Bengali) without plugins