Forums

qTranslate
qtranslate - get post content in specific language (1 post)

  1. janper
    Member
    Posted 3 months ago #

    hi, thanks for a great plugin!
    i need some assistance - i would like to get content of a specific post in a specific language just like this:

    $page_data = get_page( $page_id );
    $content = apply_filters('the_content', $page_data->post_content);
    echo $content;

    this however only returns content in active language. i want to choose which language to show - my blog will be in more languages at the same time, so i need to choose different languages for a single page.

    am i doing it wrong? orin other words - is there a PHP reference for qtranslate?

    thanks!

    jp

    http://wordpress.org/extend/plugins/qtranslate/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags