How do you get the content by id and by specific language?
I need to display two specific language content in a page, regardless of the session’s language.
So far, this is my progress: this works fine for getting the content by id of the active language:
You must use the qTranslate native functions to do your job. Use qtrans_use, that is the function that do all the job in qTranslate. It’s defined in qtranslate_core.php, line 747
function qtrans_use($lang, $text, $show_available=false)
In this example, it will return the English version of your text! Substitute it with the desired language identifier to translate into another language!