Forums

[Plugin: Sociable] Problem with qTranslate (2 posts)

  1. nico01
    Member
    Posted 4 months ago #

    Hello,

    "Sociable" and "qTranslate" doesn't love.
    When i click on link, I have <!fr:Salut><!en:Hello> in messages or body message mail :(

  2. masino_sinaga
    Member
    Posted 2 months ago #

    Hi,

    Open your wp-includes\pluggable.php file, then find this code:

    $post->post_title

    replace it with:

    wp_specialchars(qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post->post_title))

    You can also find some articles in my blog below about how to make other plugins working or compatible with qTranslate plugin.

    Some of them are:
    - Adjust MicroKid Related Posts v2.4 with qTranslate v2.4.3 Plugins
    - Adjust PS Auto Sitemap v1.1.3 with qTranslate v2.4.3 Plugins

    The logic is not too different. All you have to do is using such function:

    wp_specialchars(qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage(themultilanguagecontent))

    change themultilanguagecontent with yours. That's so simple!

    Hope it is helpful for you. Cheers! :-)

    [signature moderated Please read the Forum Rules]

Reply

You must log in to post.

About this Topic