Skip Navigation

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

Problem:
You are trying to translate pages from English to German using Elementor and the Hello Plus theme, but certain elements like the CTA element are not translating.
Solution:
The issue arises because the CTA element from the Hello Plus plugin is not registered as translatable in WPML. To fix this, you need to declare the widget as translatable by adding a custom XML configuration. Follow these steps:

1. Navigate to WPML->Settings->Custom XML Configuration and add the following code:

<wpml-config><br />  <elementor-widgets><br />    <widget name="cta"><br />      <fields><br />        <field type="Line">heading_text</field><br />        <field type="Textarea">description_text</field><br />        <field type="Line">primary_cta_button_text</field><br />        <field type="Link">primary_cta_button_link</field><br />        <field type="Line">secondary_cta_button_text</field><br />        <field type="Link">secondary_cta_button_link</field><br />      </fields><br />    </widget><br />  </elementor-widgets><br /></wpml-config>

2. Edit the Homepage with Elementor, make a small change, and update.
3. Access the translation interface, and the content should now be available for translation.
4. Clear your site's cache and check the front end.

If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and ensure you have installed the latest versions of themes and plugins. If the problem persists, we recommend opening 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.

This topic contains 5 replies, has 1 voice.

Last updated by richardL-46 2 weeks, 2 days ago.

Assisted by: Bobby.

Author Posts
April 29, 2025 at 9:35 am #16977787

richardL-46

Background of the issue:
I am trying to translate 2 pages from English to German on a site under development. I have added translation strings and scanned for Elementor and Pro plus Hello plus.

Symptoms:
Certain elements, such as the CTA element, are not translating.

Questions:
Why are certain elements not translating despite following the instructions?

April 30, 2025 at 12:12 am #16981387

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

While waiting for one of my colleagues to be assigned to your ticket -- please go to your page and edit it with Elementor.

Are the CTAs that are missing from the translation created using Native Elementor elements or are they originating from a third party plugin/possibly the theme?

Page builder content has to be registered correctly using a config.xml file in order for the WPML Editors to pick it up and make it available for tarnslation.

Sometimes when theme's use custom made ones or third party plugins they are not properly registered. If that is the case you can register them using the steps from here or our team can further assist.

https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/

April 30, 2025 at 3:19 pm #16984755

richardL-46

I had a look at that page, and it seems like backend stuff (cml etc). Im just using Elementor and Pro, with the Hello plus theme that comes as standard with Elementor, and I thought that would work out of the box?

I do not understand dev code etc and didn't want to do that, are you saying it doesn't work as I thought it would and needs modifying?

May 2, 2025 at 6:07 am #16987938

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me, it's hard to tell without without knowing which CTA elements are used, but from the sound of it, it seems that they are coming from Elementor PRO.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

May 5, 2025 at 5:38 pm #16997698

richardL-46

Hi there, this is already a test site, so fine for access/mods to find out issues.

[removed]

Kind Regards
Richard

May 5, 2025 at 8:01 pm #16998088

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Richard,

The CTA element is coming from Hello+ which is part of the Hello Plus plugin.

The Hello Plus CTA widget is rendering content that isn’t being picked up by WPML's Advanced Translation Editor (ATE), likely because:

The widget isn't declared as translatable in a wpml-config.xml.

WPML doesn't know which fields inside that widget should be parsed for translation.

To resolve I've created a wpml-config.xml so WPML can register the items properly.

STEPS:

1. Go to WPML->Settings->Custom XML Configuration and add the following

<wpml-config>
  <elementor-widgets>
    <widget name="cta">
      <fields>
        <field type="Line">heading_text</field>
        <field type="Textarea">description_text</field>
        <field type="Line">primary_cta_button_text</field>
        <field type="Link">primary_cta_button_link</field>
        <field type="Line">secondary_cta_button_text</field>
        <field type="Link">secondary_cta_button_link</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

2. Go to the Homepage and edit with Elementor -> make a small change and update

3. Access the translation and the content should be available for translation.

4. Clear the cache and view the front end.

NOTE: For future reference please only share access details within the private field reply as the forum is public 🙂

Screenshot 2025-05-05 at 12.54.44 PM.png
Screenshot 2025-05-05 at 12.53.42 PM.png
May 6, 2025 at 9:35 am #17000529

richardL-46

Hi there,

Thank you for this, sorry I thought the Hello+ was part of Pro itself!
For these fields, how would I have found out or known the names for them? FOr future reference It would of course be useful to know if adding any other addons 🙂
And many apologies I thought it was a private reply as there was a button labelled reply in private, so might have hit the wrong one !

Anyway thank you for resolving 🙂