Home › Forums › WoodMart support forum › Woodmart reviews in wrong language in combination with WPML and Litespeed
Woodmart reviews in wrong language in combination with WPML and Litespeed
- This topic has 36 replies, 2 voices, and was last updated 2 days ago by henk.devries.
-
AuthorPosts
-
July 26, 2024 at 10:28 am #585934
henk.devriesParticipantWhen Woodmart reviews are used and translated with WPML, they appear perfectly fine when we are logged in or when we disable Litespeed. When we enable Litespeed Cache, the reviews are most of the time only appearing in the original language in which they are placed. We have tried to disable most of the Litespeed functionalities, but with no good result.
How can we solve this? Is there some kind of exclusion that we need to make in Litespeed cache, or would you advise to use a different review plugin?
July 27, 2024 at 12:21 pm #586143
Hung PhamKeymasterHi henk.devries,
Thanks for reaching to us and appreciate your patience.
Could you please check how it works with some default WordPress themes like WooCommerce Storefront to understand if it is our theme issue or not?
Best Regards.
July 29, 2024 at 9:49 am #586344
henk.devriesParticipantHi,
Thank you for your suggestion. I just tried with Storefront and everything is fine there. (see attached image)
It is theme related.I also noticed that I had to translate all reviews multiple times since I use your theme. See 2nd attached image.
Is it possible that your review plugin in the theme is not correctly setup with WPML?Attachments:
You must be logged in to view attached files.July 29, 2024 at 10:28 am #586360
Hung PhamKeymasterHi henk.devries,
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
July 29, 2024 at 10:43 am #586363
henk.devriesParticipantHello,
Hereby the wp-admin info.
July 29, 2024 at 4:11 pm #586496
Hung PhamKeymasterHi henk.devries,
Thanks for details.
I’ve fixed your issue. Please check your site again.
Regards,
July 29, 2024 at 4:18 pm #586498
henk.devriesParticipantHello,
Unfortunately the issue is still there.
I have attached a screenshot. Left side of the screen is the view you get when you are logged in. Right side is the screen when logged out.I assume that it is due to the Litespeed caching in combination with the Woodmart theme and WPML. If I remove either Litespeed or Woodmart, it is fine.
Can you please check once more how we can solve this?
Attachments:
You must be logged in to view attached files.July 30, 2024 at 9:08 am #586625
Hung PhamKeymasterHi henk.devries,
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
July 30, 2024 at 9:11 am #586627
henk.devriesParticipantHi,
Only if it is for maximum of 10 minutes. This is a live website.
July 30, 2024 at 1:51 pm #586742
Hung PhamKeymasterHi henk.devries,
You can create a dev site – also called a Staging platform where you can test issues, enable/disable features/plugins thus such changes will affect the main site. The below article will help you to create it:
https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Then, I can help you to debug issues without affecting to live site.
Regards,
July 31, 2024 at 11:21 am #586944
henk.devriesParticipantHello,
I created a staging site:
staging.doll.shopAll credentials are the same.
The problem can be found on for example: https://staging.doll.shop/it/produkt/bambola-gonfiabile-yara-158-cm/August 1, 2024 at 8:11 am #587174
Hung PhamKeymasterHello henk.devries,
Everything worked perfectly both live and staging sites. You can watch recorded video for better understanding https://go.screenpal.com/watch/cZjVhQVPMR3
Regards,
August 1, 2024 at 12:14 pm #587281
henk.devriesParticipantHello,
It works perfectly when logged in, but not when logged out.
Please try in private screen as well, when not logged in. Somehow it works with some products / language combinations, but not all. For example: if you look at the Yara product it in Italian or Spanish.
I have attached a screenshot with comparison of the same page when logged in and when logged out.
August 1, 2024 at 12:17 pm #587282
henk.devriesParticipantThe image didn’t upload because of too large size. Hereby another attempt.
Attachments:
You must be logged in to view attached files.August 2, 2024 at 10:30 am #587516
Hung PhamKeymasterHello henk.devries,
The video has been recorded in incognite browser, here is test result in my colleague as well
https://monosnap.com/file/Rm9ZawOH9YEwvjMFrAhOem8ihJinqt
Regards,
August 2, 2024 at 10:36 am #587520
henk.devriesParticipantHello,
Can you please check in Italian or Spanish as well? The Dutch translations were done a while back before installing your theme for the first time. All languages and translations that are more recent, are not showing up.
August 2, 2024 at 11:44 am #587558
Hung PhamKeymasterHello henk.devries,
To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront in staging site? This will help us determine whether the issue stems from our theme or elsewhere.
Regards
August 2, 2024 at 12:21 pm #587572
henk.devriesParticipantHi,
Storefront is now active and it works fine with that theme.
https://staging.doll.shop/es/productos/muneca-sexual-yara-158-cm/August 3, 2024 at 1:26 pm #587750
Hung PhamKeymasterHello henk.devries,
I’ve passed this topic to one of our developers, and I will let you know once get an answer.
Thanks for your patience.
Regards,
August 5, 2024 at 4:21 pm #588113
Hung PhamKeymasterHello henk.devries,
Thanks for your patience.
To assist you in the best possible manner, I kindly ask that you provide me temporary FTP info (server, username, password, port) to Private Content area, I need to enable debug log and this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
August 5, 2024 at 4:21 pm #588114
Hung PhamKeymasterHello henk.devries,
Thanks for your patience.
To assist you in the best possible manner, I kindly ask that you provide me temporary FTP info (server, username, password, port) to Private Content area, I need to enable debug log and this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
August 7, 2024 at 2:08 pm #588707
henk.devriesParticipantHello,
I have attached the requested information.
August 7, 2024 at 3:02 pm #588736
Hung PhamKeymasterHello henk.devries,
FTP credential is incorrect, please check again https://prnt.sc/znR5owuSHASK
Regards,
August 7, 2024 at 4:14 pm #588776
henk.devriesParticipantHi,
Can you try once more with the same FTP credentials? The DNS settings were incorrect, but it should work now.
August 8, 2024 at 1:49 pm #588996
Hung PhamKeymasterHello henk.devries,
It works now, thank you.
Our developers are working hard on it, will update you once receive his replies.
Thanks for your patience.
Regards,
August 22, 2024 at 1:18 pm #591744
Hung PhamKeymasterHello henk.devries,
First of all, I wanted to say that I am appreciate your patience.
Try to add the following PHP code snippet to the child theme functions.php file to fix this
global $woocommerce_wpml; if ( isset( $woocommerce_wpml->comments) ) { $comments_instance = $woocommerce_wpml->comments; remove_filter( 'the_comments', array( $comments_instance, 'translate_product_ids' ), 10, 1 ); }
Regards,
August 22, 2024 at 3:26 pm #591822
henk.devriesParticipantHello,
I noticed that you already added the PHP code to the Child theme functions.php. I also added this PHP code via Codesnippets, but unfortunately the issue remains the same. It works fine when logged in, and without Litespeed. When I enable Litespeed, part of the reviews are still only shown in the language that they are written in. It is OK with other themes.
August 23, 2024 at 11:42 am #591994
Hung PhamKeymasterHello henk.devries,
You should Purge cache from plugins / CDN or disable it and check again.
Best Regards,
August 23, 2024 at 11:59 am #592003
henk.devriesParticipantHello,
I did purge all cache and disabled Litespeed cache, but result is the same.
See for example: https://doll.shop/nl/product/firedoll-zora-166-cm/#reviewsOne review is shown in Dutch, the other one in German.
When I look at the French version, they are both shown in French.In other themes this works fine.
August 26, 2024 at 7:15 am #592408
Hung PhamKeymasterHello henk.devries,
First of all, I’m really sorry have taken long time to reply you due to the weekend.
I’ve passed this topic to one of our developers, and I will let you know once get an answer.
Thanks for your patience.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register