Skip to content Skip to sidebar

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

Problem:
The client noticed that Rank Math rich snippets schemas were not being translated correctly anymore, causing issues like the translation of important attributes such as @Type, which breaks the schema and the page.
Solution:
If you're experiencing this issue, we recommend setting the fields to 'Copy' instead of 'Translate' to ensure their values are automatically copied to the translations without alteration. Here are the steps to follow:
1. Go to WPMLSettingsCustom Fields Translation
2. Search for fields starting with

rank_math_schema_

3. Set the relevant fields based on your needs:

  • Copy – values will be copied to translations
  • Translate – values will be available in the Translation Editor
  • Do not translate – fields will be ignored

This solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket 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 replies, has 0 voices.

Last updated by baptisteW-2 1 month ago.

Assisted by: Andrey.

Author Posts
April 1, 2026 at 5:07 am #17941654

baptisteW-2

In the past, all my Rank Math rich snippets schemas were translated properly. Recently, I saw that this was not the case anymore. WPML tries to translate some important attributes like @Type and this entirely breaks the schema. The rich snippet can then not be included in the page and the page is broken.

How can I select which fields should be translated or select which fields should NEVER be translated.

April 2, 2026 at 4:54 pm #17946689

Andrey
WPML Supporter since 06/2013

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

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

Thank you for contacting WPML support.

If these are custom fields (which they likely are), you can set them to Copy instead of Translate so that their values are automatically copied to the translations.

Please follow these steps:
1. Go to WPML → Settings → Custom Fields Translation
2. Search for fields starting with rank_math_schema_
3. Set the relevant fields based on your needs:
• Copy – values will be copied to translations
• Translate – values will be available in the Translation Editor
• Do not translate – fields will be ignored

April 3, 2026 at 5:28 am #17947178

baptisteW-2

They are custom fields, but in a serialized format, and I needed to only translate some of the fields inside the metadata, not the entire one. I managed to fix it on my own with a custom XML.

Thanks