WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Does elements which refresh using ajax are supported? (2 posts)

  1. bastetmilo
    Member
    Posted 1 year ago #

    Hi,

    I'm writing again, because I really need help. I'm using Polylang with plugin Events Calendar. I have problem, so I wrote to authors of Events Calendar

    When I load/refresh the website, name of current month in widget is in English (my site is in Polish). When I change month to prev/next it loads month in Polish and from now every month is in Polish. But with refresh of website problem is again on.
    My site is in three other languages (I use Polylang to make translation) – and the plugin works very well with changing the languages – except that widget. On every language site it loads the current month in English, and the next/prev in Polish.

    When I turn off the Polylang plugin – the widget starts to display month name properly

    And they write me back:

    I’m not familiar with Polylang but I think in the first instance I would contact the author – or visit their forum – and ask if elements which refresh using ajax are supported.

    So can you answer?

    It's really, really important and I'm interested in... hum... premium support (seriously I can pay for fixing, if it's problem with Polylang).

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

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Yes there is a possibility to correctly load Polylang on ajax request on frontend. You just have to set the variable 'pll_load_front' in he ajax request. Polylang will then detect it and load the current language.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags