• Resolved notom

    (@notom)


    So, we have a page where all the reviews are listed with this short code:
    [site_reviews pagination=”ajax” display=”10″ schema=”true” type=all]

    In the first page of many, the language is correct AND the link to the reviewed item is correct i.e. the link is to the correct language version of the item.

    BUT, when you go to the second page, the language of the widget is reversed to English AND the links lead to the English version of the items.

    What can we do to fix this problem?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Just to confirm, are you using the Site Reviews Translations settings page to change the language?

    One other thing, I noticed that the reCAPTCHA is not configured correctly on your website. If you have enabled the reCAPTCHA in the Site Reviews settings, please make sure that you are using the correct Site Key and Site Secret (v2 Invisible reCAPTCHA).

    Thread Starter notom

    (@notom)

    The problem is not that the strings are not translated. The problem is that the strings are translated only on the first page of the ajax pages. https://imgur.com/a/Nm5OOcq
    We are using WPML. After your comment we’ve installed Loco Translate, but the results are the same.
    This is the page from the screenshots: https://copy.traventuria.com/es/hiking-tour/trekking-senderismo-guiadas-bulgaria-pirin-rila/

    Plugin Author Gemini Labs

    (@geminilabs)

    @notom I appreciate your patience.

    I have looked into this and it seems that the problem is due to the inability to set the language locale from WPML during an AJAX call hooked through admin-ajax.php (which is what Site Reviews uses for the AJAX call used with pagination).

    Have you tried enabling this WPML setting?

    Thread Starter notom

    (@notom)

    That worked! Thank you again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget is losing the curent language in ajax paggination’ is closed to new replies.