[Resolved] Two titles in new product tabs when translated
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue with double titles appearing in the translations of their website.
Solution: We noticed that the double title issue was not present in the site's default language due to a CSS attribute that was hiding it. We recommended the client to apply the same CSS attribute to hide the double title in the translated versions of the site. We also provided a guide on how to use language selectors in CSS for further assistance. Here is the guide on language selectors: https://www.w3schools.com/cssref/sel_lang.php.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please don't hesitate to open a new support ticket with us.
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.
Can you please let us know, how to remove the double titles in translations?
There is also an error (not sure if the error is related to the double titles, or is ti another thing?)
See attached:
- Example in Spanish (the original which is correct)
(Here the link: hidden link)
- Translation - where for some reason we have two titiles
(Here also the link: hidden link)
- Screen of the Configuration in WordPress
For those two additional fields recetas= recipies and beneficios = benefits we are using a plugin to add extra tabs in wocommerce
As per image attached, in the original language we just add the tab title, which is recetas and then bellow in the description we use another H2 (title) for a title that we want, for example: Ideas de degustacion...
Neverthless when this gets translated. It seems that the tab title get's translated correctly but for some reason it appears twice, as title on the tab + title in the description.
Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
It could be a compatibility issue, so please login to this sandbox site and install the Products Tabs plugin. (hidden link)
After that, please create a test product and translate it to replicate the issue. If the issue is replicable, please let me know how to reproduce it to consult our compatibility team.
Thanks for replicating the issue. The string doesn't appear on your site's default language because there is a CSS attribute to hide it. (Kindly check the attached screenshot)
Please add the same CSS attribute if you want to hide it from the translated language. Kindly check this guide to know more about language selectors in CSS. (hidden link)