Skip Navigation

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

Problem:
The client was unable to translate links in various sections of their multilingual website using Elementor and WPML. These included product images, service box icons, and other elements that did not show up in the translation editor.
Solution:
We recommended disabling the cache temporarily to ensure changes could be reflected immediately. We provided custom XML configurations to enable the translation of specific Elementor widgets. For example, we added:

<widget name="image">
      <fields>
        <field>image>url</field>
        <field>link>url</field>
        <field>jupiter_widget_tooltip_description</field>
      </fields>
    </widget>

and

<widget name="tp-info-box">
      <fields>
        <field>loop_content</field>
        <field>title</field>
        <field>content_desc</field>
        <field>button_text</field>
        <field>full_infobox_link>url</field>
        <field>display_pin_text</field>
        <field>pin_text_title</field>
      </fields>
      <fields-in-item items_of="loop_content">
        <field>loop_title</field>
        <field>loop_button_text</field>
      </fields-in-item>
    </widget>

These configurations should be added under WPML > Settings > Custom XML Configuration. After adding, the client should refresh the primary language page and save it to apply the changes. For further guidance on registering custom Elementor widgets for translation, we advised checking the documentation at https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. 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. For further assistance, visit our support forum at https://wpml.org/forums/.

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 19 replies, has 0 voices.

Last updated by Kor 1 week, 4 days ago.

Assisted by: Kor.

Author Posts
March 7, 2025 at 8:53 am #16786699

ilkkaO

Hi there,

I published the site (NO STAGING NEEDED ANYMORE, just log in to the site normally and make changes there).

Now I noticed yet one more problem. The links in the Product section images lead to the finnish pages (the image containing link is not translated). If you click a product image (see screenshot) in english page you end up on a finnish page. These sections are made with plus addons for elementor.

Please help translate these links as well.

March 7, 2025 at 11:58 am #16788164

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Translating the links should be possible now after I've added this custom XML configuration. Please refer screenshot.

<widget name="image">
      <fields>
        <field>image>url</field>
        <field>link>url</field>
        <field>jupiter_widget_tooltip_description</field>
      </fields>
    </widget>
Screenshot_363.jpg
March 7, 2025 at 12:33 pm #16788325

ilkkaO

Did you add this to the production site? The home page is not updating the links whatever I do (tried to resave page, tried to add content and then save - the page just won't update the english translation).

March 7, 2025 at 1:03 pm #16788493

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you please disable the cache on the server and Website temporarily? I can't seem to deactivate it.

March 7, 2025 at 1:08 pm #16788499

ilkkaO

Hi there,

I emptied the cache. You can empty the cache by pressing "Tyhjennä välimuisti" in the black top bar of WP control panel (next to the Production / Staging).

March 7, 2025 at 1:15 pm #16788511

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'm able to change the first link hidden link . After you've edited the translation, you need to review it on the primary language page here hidden link . Click on the eye icon.

March 10, 2025 at 6:29 am #16794426

ilkkaO

Hi there,

I see the first link of the product images is translated and it is visible in the translation editor. The other links are not translated or visible in translation editor. Can you please get them all translated?

March 10, 2025 at 8:11 am #16794692

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Could you please try entering "http" on the search form as shown in the attached screenshot? Then, you'll be able to translate the links without issues. Please try and let me know how it goes.

Screenshot 2025-03-10 at 4.09.49 PM.png
March 10, 2025 at 8:43 am #16794886

ilkkaO

Thank you - I was able to translate the links manually with your advice. Will WPML remember these changes even if we made edit to the page? (so they won't be overwritten automatically).

Also there is the same problem on the products page, which has the same product browser as the front page:

hidden link

On this page I can't see link translations / tooltips translations as I see when editing front page translation. Please help.

March 10, 2025 at 9:14 am #16795151

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Since we've just added the custom XML configuration code below into WPML > Settings > Custom XM configuration, we need to refresh the primary language page before it can take effect. So I've made some changes to the page title here hidden link and click save, now the links can be translated.

<widget name="tp-info-box">
      <fields>
        <field>loop_content</field>
        <field>title</field>
        <field>content_desc</field>
        <field>button_text</field>
        <field>full_infobox_link>url</field>
        <field>display_pin_text</field>
        <field>pin_text_title</field>
      </fields>
      <fields-in-item items_of="loop_content">
        <field>loop_title</field>
        <field>loop_button_text</field>
      </fields-in-item>
    </widget>
March 10, 2025 at 10:55 am #16795938

ilkkaO

One more thing I noticed. On front page clicking the services boxes icons in english version links to the finnish pages.

I tried to search with "http" but these link fields don't show up. Please help me get them translated as well.

hidden link

March 10, 2025 at 12:01 pm #16796256

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Please try translating the links now on the homepage. I've edited the primary language homepage page title and resaved it. Then, when searching for the link, it shows up as shown in this screen recording. hidden link

March 10, 2025 at 12:45 pm #16796543

ilkkaO

Thanks, I was able to translate that section. Now I think I got the workflow right. But still I found links that are not translated. On Home page the Industries section links are not translated and don't show up in the editor. I guess some XML configuration needs to be added (I didn't quite get where do you get these XML configurations from).

We are close to getting everything sorted out!

When the english translation is working fine, we plan to add german translation and other languages. Should everything work without problems with other languages when these technical issues are sorted out?

March 10, 2025 at 1:02 pm #16796615
ilkkaO

Also a question about the workflow. On the product pages a button is translated automatically "Subscribe Product" while it should be "order product". Do I have to edit each of the product pages separately to change this manually or is there a way to translate all of the buttons on product pages correctly in one go? Example page: hidden link

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/button-on-the-translated-product-cannot-be-translated/

March 10, 2025 at 2:29 pm #16797063

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. You can refer to this article https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/ that explains how to register the custom XML configuration for your elementor widgets. It should work on your other languages or new language.

As for your new question regarding the button translation, I've split the ticket here https://wpml.org/forums/topic/button-on-the-translated-product-cannot-be-translated/ so that we could follow up.