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: Documentation request, Exception
This topic contains 4 replies, has 0 voices.
Last updated by sergioO 1 day ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
April 9, 2025 at 2:57 pm #16914577 | |
sergioO |
Background of the issue: The issue can be seen on this page: hidden link Symptoms: Some pages are working while others are not. Questions: |
April 10, 2025 at 6:54 am #16916728 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, WPML by default supports all widgets that are shipped with WP Bakery Page Builder. Every Custom 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. We also provide the following plugin, which makes creating such a config easier, but we do not recommend using it in a production environment: 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. We offer a program for theme and plugin authors to support them on this matter which you could name as a reference to the author: --- Alternative: Use the WordPress Editor as the translation method instead. Instructions for translating with the WordPress editor: Best regards |
April 10, 2025 at 7:55 am #16916986 | |
sergioO |
This is not a widget related issue for the following reasons: - I have been using identical setup Theme + WP Bakery + WPML for more than 10 years. I have used the WordPress Editor for translation but at some point, WPML overwrited the translated content with the default language. Also whenever I change the structure of the original content, the translated content looks like it is not rendering well. Please, check the screenshot (11.png and 12.png) attahed for the url: hidden link Notice how it shows a text box for translation but miss the rest of the content. Also check on hidden link it display the Spanish translation. But if I click on edit translation, there are all text fields but WMPL overwrited it with the default language (screenshot 13). |
April 10, 2025 at 11:18 am #16918036 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
You can sadly not use the WordPress Editor and the WPML Translation Editor at the same time. Each original content has a translation method setting inside the right sidebar of the WordPress Editor. You can choose between: If the setting is set to "WPML Translation Editor" then any manual edits that you have taken on the "WordPress Editor" will be overwritten. --- Please complete one of the affected translations with the WPML Translation Editor. After that make a small edit on the original content. Now, update the translation using the WPML Translation Editor. Can you still recreate the issue this way? |
April 10, 2025 at 12:14 pm #16918438 | |
sergioO |
No ofense but I have been using your plugin for moren than 10 years, I'm web designer and have spend quite a lot of time on it. I'm experiencing issues that never occurred before. What I'm describing is how I am troubleshooting in order to find any consistency with no luck. Translating directly on the editor was just a way to find out more about the issue. I confirm that this post: hidden link I think the easiest way is creating an admin user for you, so you can take a look. |
April 10, 2025 at 2:14 pm #16919099 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further. You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it. IMPORTANT The private reply form looks like this: Click "I still need assistance" the next time you reply. Video: Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form. Best regards, |
April 11, 2025 at 2:00 pm #16923048 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
There was a config saved at WPML > Settings > Custom XML Configuration: <wpml-config> <shortcodes> <shortcode> <tag>vc_single_image</tag> <attributes> <attribute>link</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> I removed this config, then edited the original homepage and saved it again. Now, I can see the strings available on the WPML Translation Editor. |
April 11, 2025 at 3:00 pm #16923311 | |
sergioO |
Thanks a lot, it seems the issue is resolved but please, give me a couple of days to test before closign. Any idea on how that config was saved? I have no idea how that code got there. |
April 11, 2025 at 3:13 pm #16923359 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
No idea, maybe a dev or supporter who was working earlier on the site added it. The ticket will remain open for the next 14 days. |
April 12, 2025 at 9:39 am #16925104 | |
sergioO |
Thanks, your modification solved most of the issues. When I edit and save the default language, the strings appears in most of the translations but there are still a few pages stuck. For example: Even when I modified the default English content, the translation editor is not updating on those, more default language content I update more strings are gone for translation. If I "save and close" the translation, the new content appears in the Spanish version, but in English, while the previous translation is preserved. No strings shows up for translation. I tried almost every option in the troubleshooting page with no success. |
April 12, 2025 at 7:28 pm #16925625 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
The Emojii 🏋️♂️ breaks the translation. If possible, I would recommend not using emojis in the content. |
April 12, 2025 at 10:12 pm #16925806 | |
sergioO |
That was it! Thanks a lot for the top support, now all issues are resolved. |