Support » Plugins and Hacks » [Resolved] [Plugin: WordPress SEO by Yoast] Compatibility with qTranslate

[Resolved] [Plugin: WordPress SEO by Yoast] Compatibility with qTranslate

  • is there compatibility with qTranslate? Right now, I see both the English and the translated text in the browser title (except for the homepage, which displays translated text when it is supposed to and English text when it is supposed to). I have no entered any text in the SEO Title field since I can only enter one language, but was hoping the plugin would pick up off of qTranslate and display the correct title in the browser

    If there is a workaround or suggestion for one, I’m not opposed to getting my hands dirty, I am just not sure where I would go about doing it within the plugin code.

    I love this plugin and would like to make it work. There is a lot of SEO opportunity in non-English language sites.

    Thanks in advance.


Viewing 15 replies - 1 through 15 (of 38 total)
  • SteveW928


    It seems the official response is no **, but some folks seem to keep hacking some kind of integration unofficially (which seems to break with updates). This forum doesn’t have a very good search, but if you just keep paging back in time and searching the page text of WordPress SEO for titles that include qTranslate, you should find a number of threads where it is discussed. (I haven’t personally tried it yet.)

    I’m probably going to implement qTranslate for one client, but I’m not sure I’m going to try to integrate it with SEO at this point. I hate to provide a solution that just keeps breaking. That said, qTranslate seems to be the only option that is reasonable for them to implement. I wish there were some decent option for this.

    ** Joost says he doesn’t and won’t support it, but I’ve never seen an explanation (even a brief one) and threads which ask seem to get avoided (I’ve tried a few times).




    Thanks for the reply

    It’s unfortunate Joost won’t create a solution or offer an explanation, but I suppose understandable from his perspective since it would be a lot of effort. I am looking at ways of modifying the plugin myself for clients since I do a lot of multi-lingual sites, but as you point out the required maintenance looks to be a nightmare to keep it updated.



    Be sure to look back for the ‘hack’ threads. While I’m not a programmer, it didn’t actually look all that difficult. The big problem, it seems, is that the target keeps moving. Also, maybe I’m mistaken, but wouldn’t the big SEO things be the title and meta descriptions? It would seem like Joost could add a category of fields for multilingual use, and then just provide a stable path in for plugins like qTranslate. (qTranslate META already exists to create such fields, but conflicts with Yoast on my understanding.)

    Maybe someone would even have to build a bridge type plugin (kind of like qTranslate META) to Yoast if the qTranslate folks didn’t do it directly, but at least if it were a stable path in, the target wouldn’t keep moving. I can certainly understand Joost not wanting to start fully supporting all sorts of various other plugins… but that doesn’t seem to be needed, at least as far as I can see.

    I’m interested in this as well, @stevew928. I’ve got one customer on qTranslate and we are having trouble updating the software (WordPress, plugins, etc). The qTranlsate forums seem pretty quiet, too. 🙁

    I’ve emailed the author of qtranslate on several occassions, he mostly replies… why not ask him… ?

    @ Beee –
    It just seems like a more appropriate question to be asking of Joost than the qTranslate author. It doesn’t seem like qTranslate could add Yoast support, but more like Yoast would need to add some fields or a stable way in for qTranslate.

    And given the popularity and need for some kind of solution that isn’t overly complex (which this would seem to be about it), it would be nice to have some kind of explanation. Is it just technically too difficult? Does Joost think there isn’t enough interest? Is qTranslate a really buggy solution? Is there a developer spat going on between these authors? etc. Does Joost recommend some other solution?

    Definitely: is there any other suggested free alternative solution to qTranslate or are we abandoned in the middle of nowhere?

    P.S. since yesterday update (11/12/12) I’m experiencing some trouble… aren’t you?

    Ok, found a solution: I changed from qTranslate to WP-i18n, a fork of WPML.

    Yoast was right: qTranslate was not that fantastic and with WP-i18n SEO is perfect as it has a different page for each language.

    Thanks francesco1119, good information. I’m a bit scared of that WP-i18n you mention, as it doesn’t look like much is going on with it. I’m not opposed to paying for WPML (or, rather I doubt my client is… and they probably even qualify for the free non-profit version) but it looked like a good bit of work to get going and maintain, and overkill for what they need, other than SEO compatibility. They really just need to provide an alternate language version of some of their blog posts.

    qTranslate just looked so simple in comparison, and a good fit. But, if it is problematic, than we wouldn’t want to go that route either. I was really just hoping for some feedback from Joost, aside from… we won’t support it.

    I do like the idea of a separate page for each language for everything, if it isn’t too hard to get going and maintain. How was your experience in that regard? Maybe I need to take another look. (I seem to recall that it looked like a good bit of coding work to implement back when I checked… and administrative work to maintain the linkage between all the versions of the same article/page.)

    I will tell you the true: I passed a boring week of manually copy/paste but maybe you can try: http://wordpress.org/extend/plugins/qtranslate-to-wpml-export/ that will do the job for you. (it’s rated 5 stars!).

    I didn’t have tried but it could works. With qTranslate I always had problems with “flag switcher” but now I use http://wordpress.org/extend/plugins/wpml-flag-in-menu/ that was a plugin for WPML but works also for WP-i18n. Check my site http://www.onoria.it/ (still work in progress).

    Try to search for “WPML” in WordPress plugin session: if all those plugins works for WP-i18n we are in front of a galaxy of fun.

    —(for hotels’ sites I strongly suggest the binomial WP-i18n + SEO By Yoast.)—

    I got WordPress SEO to work with qTranslate by doing the following.

    I used quicktags (eg [:en], [:fr] etc) directly in the WordPress SEO Title and Description input fields. And then I added the following to my functions.php file.

    // Enable qTranslate for WordPress SEO
    function qtranslate_filter($text){
    return __($text);
    add_filter(‘wpseo_title’, ‘qtranslate_filter’, 10, 1);
    add_filter(‘wpseo_metadesc’, ‘qtranslate_filter’, 10, 1);
    add_filter(‘wpseo_metakey’, ‘qtranslate_filter’, 10, 1);

    Worked perfectly for me.

    Found it here: http://www.webholism.com/blog/webholism/wordpress-qtranslate-and-yoast-seo/

    And I didn’t need to do the extra steps he mentioned.

    …mmm.. yeah, I was also using shortcodes as [:it] in titles and <!–:it–>(whatever you want to say)<–!–> in metadescriptions but in the end you will have 1 page with 3 languages and not 3 pages for 3 different languages.
    If you put as title “[:it] Una buonissima Torta al cioccolato [:en] A tasty Chocolate cake [:es] Una buenisima Tarta chocolate” Google robots will read a huge title that could affect your ranking. The same will happen in the metadescription that will be extraordinary long!

    I thing this is the reason why Yoast suggests WPML and not qTranslate.
    As I don’t want to pay I use WP-i18n that is just the same as WPML.

    If you add those filters that I posted to your functions.php file the meta title and description are unique per language.

    So you have example.com/en/your-post/ and example.com/fr/your-post/ and each one has unique meta titles/descriptions.

    If so it’s interesting. I’m not a WP pro. so I’ve maybe not understood everything.
    We would like to see some example, if I’m not pretending to much.
    Could you give us some site example?

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] Compatibility with qTranslate’ is closed to new replies.