[Resolved] Translation keep disappearing from the WPML editor
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate content using the WPML editor, but some words do not appear in the WPML translator editor, even though they are part of the page content. Additionally, some translations disappear from the WPML editor, even though they are still visible on the front end. Solution: First, identify which Page Builder Widgets are not getting translated and determine which plugin on your site is responsible for those widgets. WPML supports all widgets that come with WPBakery Page Builder by default. For any Custom Widget, it must have an XML configuration to be translated using the WPML Translation Editor. This configuration should be in a
wpml-config.xml
file in the root directory of the theme or plugin. You can find a guide on how to register page builder widgets for translation here: https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/ If the author does not provide such a configuration, you can create one yourself and store it under WPML > Settings > Custom XML Configuration. We can also offer a WPML test site to assist you with creating a basic configuration for a couple of widgets. If many widgets are affected, it might be better to contact the author of those widgets.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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 the issue persists, 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.
Background of the issue:
I am trying to translate content using the WPML editor. There are some words that don't appear in the WPML translator editor, even if they are part of the page content. I was advised to make a small edit in the original page and then delete this small edit to make WPML 'recheck' all the content. Link to a page where the issue can be seen: hidden link (string: discover the location)
Symptoms:
Some sentences on some pages don't appear inside the WPML editor and can't be translated. Additionally, some translations disappear from the WPML editor, even if they are still visible on the front end, requiring me to re-translate them.
Questions:
Why do some sentences not appear in the WPML editor at all, even if they are part of the content?
Why do some translations disappear from the WPML editor even though they are visible on the front end?
As a workaround, I switched to manual translation for some pages (using the wordpress editor). This seems to work for now.
However, I still would like to understand why:
-Some sentences on some pages (not widgets or strings!) don't appear inside wpml editor at all and can't be translated (even after updating the page, as suggested)
-Sometimes, some words/sentences that are already translated disappear from the wpml editor leaving a blank space (even if they are still visible on the front end) and I have to re-translate them again.
this problem is affecting many pages of my websites, randomly. One example is: hidden link
This page (spanish translation) was 100% translated and working well. I have never modified the original content.
Today I have checked it again and I have realized that many translations are missing, both from the frontend and from the WPML editor. Some sentences reverted back to English, some strings disappeared from the editor, some strings are translated in the wpml editor but appear untranslated on the frontend...
Please, help me resolve this bug, because it is making me losing a lot of time and credits. Let me know if you need any more details. Thanks.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Could you please let us know which are the Page Builder Widgets that are not getting translated and which plugin of your site is responsible for those widgets?
WPML by default supports all widgets that are shipped with WPBakery Page Builder.
Every Custom Elementor Widget must have an XML configuration so that it can be translated using the WPML Translation Editor.
It is the author's responsibility 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 creating 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.
thanks a lot for your answer. However, I think my problem is different. There are 2 parts:
- Some random bits of content of some pages don't appear in the WPML editor. Those are not widgets, but simple headings or buttons inside the content. Everything else works fine, even on the same page.
- It happened to me multiple times, apparently with no reason, that a fully translated page that was working absolutley fine then "lost" some translations, both in the frontend and in the wpml editor (where I now see a blank space that needs to be translated again).
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I can offer to take a closer look at this. Please name me the title or links for the affected content.
I would like to request temporary access (wp-admin and FTP) to the website to investigate the problem further.
You will find the required fields below the comment section when you log in to leave your next reply. The information you provide is private, which means that only you and I can see and access it.
IMPORTANT
Please make a backup copy of the website and database before granting us access.
If you cannot see the “wp-admin / FTP” fields, your login details for post and website will be set as “PUBLIC”. Do NOT publish the data unless you can see the required wp-admin / FTP fields.
The private reply form looks like this: hidden link
Click on “I still need assistance” the next time you reply.
Video: hidden link
Please note that we are required to request this information on each ticket individually. We are not allowed to access any access information that was not specifically submitted on that ticket in the private response form.