Title: Polylang
Last modified: August 30, 2016

---

# Polylang

 *  [Raz](https://wordpress.org/support/users/razique/)
 * (@razique)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/polylang-17/)
 * Hi,
    I’m using the plugin with Polylang, which is like WPML. The problem I have
   is that for the english version of the website (secondary language, french being
   the main one), the plugin doesn’t seem to “activate”. What I mean by that is 
   that the comment gets submitted and get redirected. If the user doesn’t fill 
   in the fields, then there’s the error page, asking to fill in all the fields.
 * Main site: [http://www.fitforlife.fr](http://www.fitforlife.fr)
    EN version: 
   [http://www.fitforlife.me](http://www.fitforlife.me)
 * I guess it’s because these are two different domains.
    I’ve tried the hack you
   mentioned in a similar issue, by adding the following code for the ‘OnBeforeSelectElements’
   callback
 *     ```
       var form = jQuery(dom).find(WPAC._Options.selectorCommentForm);
       var actionUri = new Uri(form.attr("action"));
       if (!(actionUri.getQueryParamValue("lang"))) {
       	form.attr("action", actionUri.replaceQueryParam("lang", (new Uri(window.location)).getQueryParamValue("lang")).toString());
       }
       ```
   
 * The other thing I’ve noticed is that for the english version, when the error 
   message appears, it’s in French (should be in english).
    Thank you!
 * [https://wordpress.org/plugins/wp-ajaxify-comments/](https://wordpress.org/plugins/wp-ajaxify-comments/)

Viewing 1 replies (of 1 total)

 *  [weweave](https://wordpress.org/support/users/weweave/)
 * (@weweave)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/polylang-17/#post-6578972)
 * Hi,
 * Thanks for your comment. Professional support for this plugin is provided by 
   weweave. If you need assistance please open a support ticket, here: [https://weweave.net/s/wp-ajaxify-comments/support](https://weweave.net/s/wp-ajaxify-comments/support)
 * Thanks in advance.

Viewing 1 replies (of 1 total)

The topic ‘Polylang’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [weweave](https://wordpress.org/support/users/weweave/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/polylang-17/#post-6578972)
 * Status: not resolved