Skip to content Skip to sidebar

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

Problem:
The client is trying to translate a page using WPML and Elementor, specifically the 'Flip Box' widget, but the URL field is not appearing in the Advanced Translation Editor.
Solution:
We recommend the following steps to translate the internal URLs automatically:
1. Remove the XML from WPML >> Settings > Custom XML Configuration section as the Flip Box widget is already compatible with the WPML Translation Editor.
2. Open the default language test page in Elementor.
3. Click on the 'Dynamic Tags' option.
4. Select the 'Internal URL' option.
5. From the Type dropdown, choose 'Content'.
6. Type the page URL in the search box and select the page to use for the link.
7. Update the page in Elementor.
8. Update the page in the default WP Editor.
This should automatically show the correct translation on the frontend without manual additions.

If this solution does not resolve your issue or seems outdated, 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 further assistance is needed, 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 6 replies, has 2 voices.

Last updated by Noman 9 months ago.

Assisted by: Noman.

Author Posts
October 15, 2024 at 1:26 pm #16291037

kimR-3

Background of the issue:
I am trying to translate a page on my site hidden link using WPML. I am using Elementor and specifically trying to translate the 'Flip Box' widget, but the URL field is not appearing in the Advanced Translation Editor. I have attempted to manually register fields following the guide at https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/.

Symptoms:
The Elementor widget 'Flip Box' does not include the URL field in the Advanced Translation Editor.

Questions:
Why is the URL field of the Elementor 'Flip Box' widget not appearing in the Advanced Translation Editor?
How can I successfully register the Elementor 'Flip Box' widget fields for translation?

October 15, 2024 at 3:36 pm #16291666

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I’ve tried to replicate this issue at fresh WP site by following the below steps:

1. Installed the Elementor and Elementor Pro plugins.
2. Created a new page in the default language and inserted the Elementor Pro Filip Box element.
3. Added the internal and external link to the button.
4. Tried to translate it using Advanced Translation Editor and I’m able to translate the external URL and the internal URL translated automatically as you can see in the attached screenshots.

Here is Auto login URL of fresh WP site:
hidden link

Default language page link:
hidden link

Secondary language page link:
hidden link

Can you please try to check on the above site and let me know if I missed something?

Thank you for your cooperation

Flipbox element.png
link translated automatically.png
external link.png
External link 1.png
link translation correctly.png
October 16, 2024 at 9:38 am #16294483

kimR-3

Hi Noman,

Thank you for the easy overview

I can see that, it seems to work with your setup. I just tried to add a flip box on another site that I also manage, and I can’t see the Button link there either… could it be a checkbox I need to enable somewhere?

I have attached a ss of the other page next to the page I’m working on.

Skærmbillede 2024-10-16 kl. 11.37.10.png
October 17, 2024 at 8:09 am #16298651

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for the additional details. If you are facing issues in translating the internal links then please try to follow the below steps:

1. Take a backup of your site first for safety reasons.
2. Go to the WPML >> Settings page and press the “Scan now and adjust links” button(Screenshot attached).
3. Re-save the Permalinks from the Settings >> Permalinks page by pressing the “Save Changes” button.
4. Clear all sorts of site/server/CDN cache and see if this resolves the issue.

If the issue is arising in external links or the above steps don’t help, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

✙ Provide me the page link where I can see this issue.

Thank you for your cooperation and patience

Scan now and adjust links.png
October 17, 2024 at 3:44 pm #16301257

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I followed the below steps:

1. Set the _elementor_data field to it’s default value “Copy Once” from WPML >> Settings > Custom Fields Translation section.

2. Corrected the XML from WPML >> Settings > Custom XML Configuration section by replacing this code:

<field type="Link URL" editor_type="LINK">link.url</field>

With:

<field type="Link URL" editor_type="LINK">link>url</field>

3. Made a small change in the default language page title, and opened the English language page in ATE and the links were available for translation as you can see in the attached screenshot.

I added the links translation for English language page and it works correctly at frontend.

Could you please check and confirm?

Thank you for your cooperation and patience

xml config.png
Flipbox.png
frontend links.png
October 18, 2024 at 7:41 am #16302985

kimR-3

Unfortunately, I still have the problem. I created a new page (test page 2) and inserted the section with 8 flip boxes. When I open ATE, I can’t see any links unless I search for them. I can change them manually, but the automatic translation doesn’t translate the URL correctly. See the attached screenshot.

Am I doing something wrong?

Skærmbillede 2024-10-18 kl. 09.32.20.png
Skærmbillede 2024-10-18 kl. 09.32.29.png
Skærmbillede 2024-10-18 kl. 09.36.27.png
October 20, 2024 at 5:45 am #16307898

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I was off during the weekend (Friday-Saturday). It’s an expected behavior to search the URL in Advanced Translation Editor and translate them manually if they are available in ATE.

To translate Internal URL’s automatically on your site, I followed the below steps:

1. Removed the XML from WPML >> Settings > Custom XML Configuration section as the Flip Box widget is already WPML Translation Editor compatible.
2. Opened the default language test page 2 in Elementor page builder.
3. Click on the “Dynamic Tags” option as you can see in the attached screenshot.
4. Choose the "Internal URL” option.
5. Click on the “Internal URL” and choose the “Content” option from Type dropdown.
6. Type the page URL of the page in the search input box and choose the page to use for link.
7. Updated the page in Elementor page builder.
8. Updated the page in default WP Editor.

And it automatically shows the correct translation at frontend without adding them manually. Here is a video of the above steps: hidden link

Could you please try to follow these steps for Internal URL’s and see if this resolves the issue.

Thank you for your cooperation and patience

Step 4 - Search URL.png
Step 1 - Dynamic Tags.png
Step 2 - Internal URL.png
Step 3 - Type - Content.png
Step final.png
October 21, 2024 at 7:56 am #16310600

kimR-3

Thank you Noman!