Skip Navigation

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

Problem:
The client was trying to translate a section on the homepage using Elementor but encountered issues where the translation was not appearing correctly on the frontend.

Solution:
We recommended that the client should ensure that the Elementor widgets are recognized by WPML by following the guide on registering custom Elementor widgets for translation.

After the client resolved the issue by changing the section that was causing the problem, they inquired about the necessity of the Multilingual Tools plugin. We advised that it is safe to deactivate or delete the plugin if it is not needed, but it can be a useful tool for identifying new Elementor widgets. We also mentioned that the plugin can be reinstalled using the guide provided if needed in the future.

If the solution provided here is not relevant to your case, either because it's outdated or it doesn't apply to your situation, we highly recommend checking the 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 you still need assistance, please do not hesitate to open a new support ticket. You can reach our support forum here: 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 6 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 2 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 12, 2024 at 3:01 pm #15400199

ioannisS-12

Tell us what you are trying to do?
I am trying to translate a section in the homepage.

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
In homepage, there is a section similar the one I am trying to translate.. The first one is translated correctly, but the second one does not. I could see the changes I have made in the backend of Elementor, but in the frontend It does not appear correctly. I guess the theme has some custom blocks or something that I could not translate properly. I believe something in the settings of WPML could help me solve my issue. Screenshots attached

What is the link to your site?
hidden link

elementor-backend-1.png
elementor-frontend-1.png
March 12, 2024 at 5:44 pm #15400969

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support.

Looks like these Elementor widgets need to be recognized by the WPML. I'll recommend checking this guide https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/ and follow along.

Regards.

March 13, 2024 at 3:02 pm #15404776

ioannisS-12

Hello, thank you for your answer.. I tried to do whatever guide said, but the issue still exists. I believe that I did followed the steps correctly and saw the fields in translate editor, but the frontend does not apply the changes, show images and so on.. Maybe, something messed up or I don't know.. Any ideas please? There is nothing else to translate in the website to go live

thank you for your time, waiting for a respond

March 13, 2024 at 4:30 pm #15405539

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates.

I see a few problems with your setup, based on the debug information, please consider fixing and trying the followings:

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Update WordPress to the latest version.
- Fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

Then try again the instructions from the guide, if issue continues to appear, please try the following:
- Deactivate all plugins except WPML and Elementor and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2021 or 2024). Because your current theme isn't on our compatibility list (https://wpml.org/theme/), so let's confirm if you can translate the content in WPML at-least.

Please note that when following the said guide, it is very important that after registering your widgets in WPML's XML Configuration, you perform the following steps too:

- Make changes to the said content in default language.
- Save.
- Update the translation of the page and/or template having that content.

Please let me know your findings.

March 14, 2024 at 8:08 am #15407960

ioannisS-12

Hello there,

I did increased the memory limit and update the theme and plugins too! My main issue is: I see the edit Elementor page (backend) correctly but not at the frontend. I saw the the screen of the guide you are talking about, and I could translate the texts, fields and so on.. but still the frontpage is like broken..
Thus, I tried to delete the translated page (English - main language is Greek) and the sections causing the issue, and did the guild from the beginning. I did not see any deference.. I have an error at the Custom XML Configuration (attached screenshot) I do not understand what is about.
Moreover, I am thinking to change the section that is not display correctly, in order to understand better what causing the problem.. I guess the error in the screenshot is about the categories of a custom post type "rental".. I have already translated the categories and other taxonomies! trying to figure out what happening.. Any ideas or help, would be welcome

I will let you know if I find something

custom-xml-cunfig-error.png
March 14, 2024 at 1:12 pm #15410058

ioannisS-12

Hello again,
Couldn't find any solve to my problem.. Thus, I have change the section that might causing the problem.. And now translations and frontpage are working as expected. Thank you for your time and guidance anyway. Last quick question please: Could I delete the Multilingual Tools plugin safely? I believe I do not want that, right?

have a nice day

Sincerely,
Grigoriadis Kyriakos

March 14, 2024 at 3:14 pm #15411047

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates and glad it worked out finally.

Yes you can deactivate or delete if not needed. But that's a useful tool that you may need some time to find about new Elementor widgets. You can keep it deactivated if you like. However, you can always reinstall from the previously provided guide.

Please feel free to close this ticket as needed.

Thanks again.