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.

This topic contains 4 replies, has 2 voices.

Last updated by Furkan 2 years, 6 months ago.

Assisted by: Furkan.

Author Posts
July 31, 2022 at 1:18 pm #11773067

borisF-4

I am using WPML along with the "Kadence" theme. When translating one of my pages, everything works well, except for the trigger text of "modal" elements of my page.

The texts of these elements to translate are found by WPML, and I'm able to enter a translation (both in the translation editor and the string translation), but the translation is never rendered on the frontend.

I'm also using the "Kadence Blocks - PRO Extension" plugin.

July 31, 2022 at 1:58 pm #11773305

Furkan

Hi!

Thank you for the nice chat I could have with you today.

I would like to request temporary access (WP-Admin and FTP) to your site to take a better look at the issue, or preferably, to a testing or staging site where the issue has been replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private, which means only you and I can see and have access to it.

I may need to replicate your site locally. For this, I’ll temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content and once the problem is resolved, I will delete the local site. Please let me know if this is fine with you.

IMPORTANT:
• Please make a backup of site files and database before providing us access.
• If you do not see the fields, this means your login details will be made PUBLIC. DO NOT post your website details unless you see the required fields. If you don't see them, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to hearing from you.

Thanks!
Furkan
The WPML Support Team

July 31, 2022 at 6:18 pm #11773557

Furkan

Hi Boris,

Thank you for providing a staging site.

I managed to find a temporary solution. It works, everything is translatable, but it requires more work than usually needed and only works with Classical Translation Editor.

To translate elements which are provided by the "Kadence Blocks - PRO Extension" plugin, open WPML → Settings → Custom XML Configuration add the following:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kadence/modal" translate="1">
      <xpath>//*</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

After that, make a small change (like adding a letter or removing one) to the page you want to translate. Then switch to Classical Translation Editor and translate all elements. Make sure that its translation progress is %100 completed. Your page should be fully translated now.

If this solution is not practical for you, please let me know. I'll help you further.

Thanks!
Furkan
The WPML Support Team

August 4, 2022 at 8:15 pm #11807241

borisF-4

Hi Furkan,

Thank you for this solution.
I confirm that it works well for now and solves the translation issue that was encountered with Kadence's Modals.

However, I have to admit it is not the nicest / easiest solution while having to switch back to the old translation interface.

Please let me know in the future if thanks to any WPML update the new translation editor could work as well. Also I could probably forward this conversation to Kadence in case they update their modal's plugin to comply with WPML translation management.

Anyway, the most important is that it works now.

Thanks again for your help!
Boris

August 8, 2022 at 7:39 am #11820263

Furkan

Hi Boris,

Thank you for your answer.

You'll get an update when new WPML version is released.

Thanks!
Furkan
The WPML Support Team