Skip Navigation

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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Dražen 1 year ago.

Assisted by: Dražen.

Author Posts
April 10, 2024 at 1:39 pm #15505254

AlexBerlin

Dear Support Team,

I am encountering an issue with the WPML plugin where the Yoast FAQ structured data section is not visible in the advanced translation editor. Could you please provide guidance on how to access and translate the Yoast FAQ structured data block within this editor?

Thank you for your assistance with this matter:

You can see the FAQ here - everything else is translated.
hidden link

Best Regards,
Ralph Alexander

April 11, 2024 at 11:19 am #15508747

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Ralph,

this seems to be a known issue and is escalated to our devs.

Can you please try the next workaround:

Add next code to WPML > Settings > Custom XML

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="yoast/faq-block" translate="1">
      <key name="questions">
        <key name="*" />
      </key>
      <key name="innerContent">
        <key name="*" />
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

- Edit the post-translation with the native editor
- Recover block
- Update the translation and visit frontend

Let me know how it goes, regards.
Drazen

April 14, 2024 at 5:53 pm #15516682

AlexBerlin

Hello Dražen,

Thank you so much for your swift response. I tried the solution, but I'm not quite sure if I understood correctly how to follow the steps you proposed.

In the end, I discovered that I can find a workaround using shortcodes by replacing the shortcode for the German FAQ with the shortcode for the English FAQ via the Divi Visual Builder on the English page.

I assume that once I edit the German page, I will have to replace the shortcode on the English page again. Is there a way for the German shortcode to be automatically replaced by WPML (like a translation) with the shortcode for the English FAQ?

Many thanks, Alexander

April 15, 2024 at 7:13 am #15517261

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Alexander,

thanks for getting back.

Yes, that is almost the same workaround we suggested, just in paste you had to add that code, for this to work correctly.

There would be a possibility of switching the WPML editor completely for that page, but I would not recommend this and suggest using this workaround until we have a permanent solution.

I will update you when there is some news from our side, but it will take a while.

Regards,
Drazen