[Resolved] Reviews was translated but there are no translations
This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with translating product reviews in the sidebar using the Healfio theme on your shop and product pages, it might be due to a compatibility conflict.
3) After saving changes, visit a product page and navigate to WPML >> String Translation. Translate the review strings by clicking on the plus (+) icon.
If this solution does not resolve the issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Welcome to the WPML support forum. I will do my best to help you resolve the issue.
We hope you are following the steps outlined in the following documentation. Additionally, please confirm whether the product reviews are appearing as translated under the Reviews tab of the Products section.
The product reviews are not showing the translation because of a compatibility conflict with the Healfio theme. The code they are using to show the reviews in the sidebar does not support Multilingual content. That is why it is not showing the Product Review translation.
So, can you please check with the theme author? Becuase it requires changes in the source code in */wp-content/themes/healfio/woocommerce/content-widget-reviews.php* file.
You can share the following WPML hooks with them for further reference.
Thank you for the updates. It would be great if you could check this with the theme author, as the issue seems related to the theme code.
Please note that any direct changes made to the theme files might be lost when the theme is updated. That is why we recommend consulting the theme developer for a proper solution or checking if a child theme can be used to apply the required fixes safely.
Thank you for the updates. I am consulting with our team about this to get an expert opinion. We will get back to you as soon as possible. Please wait.
We are sorry to inform you that there is no easy workaround for this case. It seems that the following code changes in the */wp-content/themes/healfio/woocommerce/content-widget-reviews.php* file at line 36 are not producing the expected results. This appears to be a compatibility issue.
The only workaround that we can suggest at this moment is the following. Please try it after a full site backup.
1) Visit */wp-content/themes/healfio/woocommerce/* folder
2) Open *content-widget-reviews.php* file for editing
3) Scroll to line 36 and make the following changes, and save the file
4) Visit a Product in the frontend
5) Go to WPML >> String Translation
6) Translate the review strings by clicking on the plus (+) icon. After clicking, wait for a minute, and the existing translation will be automatically copied.
As mentioned earlier, our support has certain limitations in this case. Although the theme claims compatibility with WPML, it is not included in our list of compatible themes: hidden link
For any further assistance, we kindly recommend contacting the theme’s support team. Thank you for your kind understanding.