Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is attempting to translate the 'Table of Contents' title generated by Rank Math's TOC block on a multilingual WordPress site using WPML. Despite translating the string in WPML's String Translation and clearing all caches, the TOC title remains in English across all language versions of the site.
Solution:
If you're experiencing this issue, we recommend checking the following:
1. Ensure that the string 'Table of Contents' is correctly registered in WPML's String Translation. If not, you might need to manually add it.
2. Verify that there are no compatibility issues between WPML and Rank Math by checking the versions you are using against our known issues page.
3. Make sure that the language switcher is correctly configured to change languages dynamically based on the site's current language setting.

If these steps do not resolve the issue, or if the solution provided here becomes outdated or does not apply to your case, we highly recommend opening a new support ticket. Additionally, always ensure that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum 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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 5 months ago.

Assisted by: Andrey.

Author Posts
March 17, 2025 at 9:04 pm #16827213

khalidA-55

Background of the issue:
I am trying to translate the 'Table of Contents' title generated by Rank Math's TOC block on our multilingual WordPress site using WPML. Our site supports English, French, and German. The goal is to have the title translated to 'Table des matières' for French and 'Inhaltsverzeichnis' for German. The issue can be seen on this page: hidden link.

Symptoms:
Despite translating the string in WPML's String Translation and clearing all caches, the TOC title remains in English across all language versions of the site.

Questions:
Are there additional steps or configurations within WPML or Rank Math that we might have overlooked to facilitate the translation of the TOC title?
Could there be compatibility issues between the versions of WPML and Rank Math we are using that affect string translation?
Is there a recommended approach to ensure that the TOC title dynamically displays in the correct language based on the site's current language setting?

March 18, 2025 at 11:14 pm #16832832

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I will be assisting you with the ticket that you have submitted here:
https://wpml.org/forums/topic/assistance-needed-translating-rank-maths/