Forums

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

  1. nico01
    Member
    Posted 2 years 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 years 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]

  3. P_e_t_r
    Member
    Posted 1 year ago #

    Hi,
    I just used this system for article-accordion widget (wasnt working properly with qtranslate). It is really working now - especially in tittles. But new problem appeared - article accordion is showing parts of posts from given category. But now this parts are shown including "" html tags. I suppose it is not so easy to deal with this problem.

    Thanks Peter

  4. mauma
    Member
    Posted 1 year ago #

    hi is ok the hacks but i need to change all $post->post_title on pluggable.php
    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic