[Resolved] WPML doesn't translate some elementor widgets
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to automatically translate everything on your site using WPML, but some Elementor elements (theme's widgets) are not translated. Solution: We recommend you follow these steps to resolve the issue: 1. Add the following XML in WPML >> Settings > Custom XML Configuration section:
2. Make a small change in the default language sample page title and press the Update button to reload the translation. 3. Remove that change and press the Update button again. 4. Open the translated page in ATE, and the custom theme heading element should now be available for translation. 5. Add the translation, and it should work correctly on the frontend.
If this solution does not apply to your case, or if it 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 issues persist, please open a new support ticket.
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.
Background of the issue:
I am trying to automatically translate everything on my site hidden link using WPML. I have used this plugin for a long time but I can't handle it now.
Symptoms:
All the pages are translated but some Elementor elements (theme's widgets) are not translated at all.
Questions:
Can you help me figuring out how to translate also the theme widget's content?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Could you please let us know which are the Elementor Widgets that are not getting translated and which component of your site is responsible for those widgets?
WPML by default supports all widgets that are shipped with Elementor and Elementor Pro.
Every Custom Elementor Widget must have an XML configuration so that it can be translated using the WPML Translation Editor.
It is the theme author's job to create such a configuration in a wpml-config.xml file in the root directory of the theme or plugin.
If the author does not provide such a config, you can alternatively create one yourself. This config can be stored under WPML > Settings > Custom XML Configuration.
We can further offer a WPML test site on which we can recreate the issue and I assist you with a basic configuration for a couple of widgets, but if there are many affected widgets it would be better to reach the author of those widgets.
Thank you for contacting WPML Support. Thanks for the update! After updating the theme, please try to follow the below procedure:
1. Open the default language page in Edit mode in which you are facing this issue.
2. Make a small change, for example, add a space or + sign in your page/post title.
3. Update the page by pressing the “Update” button.
4. Now, please remove that small change that did in step #2.
5. Update the page again.
6. Now, open the translated page in the WPML Translation Editor, and see if that element content is available for translation.
Thanks for trying the above steps. I’ve set up a fresh WordPress site with WPML and Elementor installed. Could you please follow the steps below to replicate the issue on a fresh site? This will help me generate the necessary XML for that theme element, allowing you to translate its content using the WPML Translation Editor.
1. Login to the fresh WP site by clicking on the auto login URL: hidden link
2. Install the Hnice theme and its required plugin.
3. Create a new page and add the problematic Elementor element in it and try to translate it.
Please note that we only need the specific Elementor element functionality on this site; there’s no need to set up a full site or clone your existing one.
1. Take a backup of your site first for safety reasons.
2. Re-save the pages in which you are using Hnice Heading element. You may try WordPress bulk Edit/update method. hidden link
3. Go to WPML >> Translation Management page, select the required pages, and send them for automatic translation.
Thank you for your response. Before proceeding with the automatic translation via WPML, I would like to clarify a couple of things:
Will this process consume additional WPML translation credits?
Will previously translated strings remain intact, meaning that only the missing strings will require new credits?
I just want to ensure that I won't be charged again for translations that are already completed.
Yes, WPML uses credits only to translate new strings. However, previously translated strings using the WPML Advanced Translation Editor will remain intact and won’t consume credits again.
When you translate a page for the first time using the Advanced Translation Editor, it uses credits and saves the translations in the translation memory. If you re-translate the same page, WPML retrieves the existing translations from the memory without using additional credits.
To avoid unnecessary charges, please ensure you send the page for translation only when the translation "Needs update" icon appears as you can see in the attached screenshot.
I’d suggest you try with only one page first, if all goes well, then try in bulk.