Background of the issue:
I have a website using the Rehub theme and WooCommerce. The issue concerns the translation of 'comparison table' modules. A representative example is the 'Yuh vs Revolut' comparison page located at: hidden link
Symptoms:
At the top of these comparison pages, there is a 'Comparison table.' This table does not translate from the original French version to other languages (e.g., English). The content within the comparison table remains in French even when viewing the translated page. The content of the Comparison table does not appear in the WPML Advanced Translation Editor, preventing me from manually translating it.
I have attached screenshots showing the English version of the page with the French text still present in the comparison table, as well as a screenshot of the WPML Advanced Translation Editor where the comparison table content is missing.
Questions:
How can I get these Comparison tables to be translated by WPML into the different languages used on my website?
That should make the Rehub theme Comparison Table block compatible with WPML.
To see the result of the change you need to do as follows:
- Go to your Dashboard > Pages.
- Open the edit screen of the original page. You should see a pencil/circle/gear icon in the sidebar options under the "Languages" section.
- Make a small change, for example, add an extra blank space at the end of a sentence/paragraph.
- Save it.
- You should now see that a circular arrow appears beside the 2nd languages links, this means that an update is required.
- Edit the translation again and save it up to 100% translated.
I'd appreciate it if you get back to us with the result.
Hi, so our developer added the code. It works except for the items ("key" I think they are called) in yellow in the attached printscreen. Is there an extra line of code to add for these?