Captcha second language (first) does not work
-
Hi @svenpeter
Sorry for late reply, Let me try replicate the issue in my local and get back to you for solution. I can see there is issue for swedish it do not show the captcha question but for the english it shows.
Great, many thanks for fast help. Yes, I see you understand the issue. Looking forward to find a solution and get this sorted. Many thanks in advance! Best regards, Peter
Hi @svenpeter
Is there any cache enabled? If I cross check passing extra param for swedish language ( which might be not from cache) it shows the captcha field.
Regards
Hi,
Yes, we have cache plugin (WP Super Cache). I do not see how this might effect this issue. I tried your link above, but can not see the captcha.
I am sorry, I do not follow completely “passing extra param for Swedish”…
Please advice me how I can try and test this out, if there is something I can do here to check and see what you see.
Many thanks. PeterHi @svenpeter
I have sent the link Please try open in incognito window of browser. It might be browser cache, make sure browser location have ?lang=sv at end.
you can see like below captcha question.
Hi,
Thank you, yes, I see when I open in an incognito browser, the link does show it correctly as you show in the picture, also including the Captcha in Swedish – that is great. I tried clearing the cache on the Toplift web page (and in the browser), and also the autoptimize cache. Still, I can not get the standard Safari browser I use to show the Captcha for the Swedish pages on the reviews.
You see, the web site works like this – the Swedish is the “main/most important language”, so we do not use the ?lange=sv for Swedish pages, and as the English is the language secondary to our customers, we use the adding ?lang=en for all products and information in English (I think multilingual can work also the other way around, but we do not like this, need more “nicer” links in Swedish).
So, we now get correct result (Captcha) on English products (showing ?lang=en at the end) but not on the Swedish products (that does NOT use ?lang=sv at the end). I hope you understand and we can get this to work from this information?
Many thanks in advance.
Best regards, PeterHi @svenpeter
You should disable the cache for products page as your product have review form which should have dynamic question. Cache should be used for static contents. Then it will work with urls without adding lang param for swedish.
I can see clearing the cache once it shows the question. but it will be the same for all users.
Please try open in new browser or incognito window the site.
Hi,
OK, now we are perhaps getting close I think. So I should not use cache on product pages (most of our pages are product pages)?
So if I inactivate the Cache plugin, then the captcha should work also on the Swedish pages in my browser? Then I will test this and get back to you.
Many thanks in advance for your advice.
Best regards, PeterHi @svenpeter
Yes, cache should not enable for product pages for captcha to work in swedish language.
Regards
Hi,
OK, thank you, now we know how this happens. I think I need to talk to the guys at the Cache plugin to see how I can set it to only be for pages except products pages. Thanks a lot for your help.
Many thanks,
Peter
The topic ‘Captcha second language (first) does not work’ is closed to new replies.
(@svenpeter)
3 years, 4 months ago
Hi,
We can add captcha on review tab (where you can leave your review) on a product page using WP Security. But it does only work in English language (the base language of the site). When switching with WPML language switcher (using the flag for example) to Swedish, and then try to leave a review, the Captcha (numer equation to solve) does NOT appear, and hence, the visitor can not see it an fill it out, and then there is a error message “you did not fill the correct captcha” after trying to send in the review, and the review is then not posted.
Can I please ask your help on this matter (I have searched the forum, but can not find any previous solution).
Many thanks in advance.
Peter
The page I need help with: [log in to see the link]