Support » Plugins and Hacks » qTranslate » [Resolved] qTranslate and "infinite scroll"

[Resolved] qTranslate and "infinite scroll"

  • I’m setting up a site where the first 10 posts are getting parsed / translated correctly when the user first accesses the site / switches the language. Once he scrolls all the way to the 10th post, the next 10 posts will be loaded “dynamically” (often referred to as “infinite scroll” – this is accomplished with a couple of jQuery functions as far as I’m aware).

    These newly added posts will always show up in the default language rather than the language the user is currently using.

    I’m mostly OK with PHP, but I think I’d have to manipulate the jQuery functions in some ways to accomplish showing translated posts on the page and I’m not familiar with that. Does anyone have some advice for me how to accomplish this goal?

    Thanks in advance.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Zeig mal die Seite dann schau ich es mir mal an ๐Ÿ˜€

    Hier siehst du die englische Seite: http://chronik.fraunhofer.de/?lang=en

    Ab dem 11ten Post tritt das Problem auf. Bei den Eintrรคgen zuvor wird alles wie gesagt korrekt auf englisch ausgegeben.

    Er… English, folks.
    This is the English forum. ๐Ÿ™‚

    I’m still having troubles and I would appreciate any help I can get. ๐Ÿ™‚

    The theme designer got back to me and I changed a part in the header.php the following way…


    url: "<?php echo site_url() ?>/wp-admin/admin-ajax.php",

    url: "<?php echo site_url() ?>/wp-admin/admin-ajax.php?lang=<?php echo qtrans_getLanguage();?>",

    We’ll have to apply another minor change so it will also work on mobile devices, but I hope this will already help some folks out there.

    Very helpful indeed!

    We did not have to apply another change in the source code. It turned out the issue was caused by a caching plug-in…

    I have always recommended not using them, this just proves again that they can easily mess up things.

    This issue is now solved. ๐Ÿ™‚

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] qTranslate and "infinite scroll"’ is closed to new replies.