Hello, thanks for your reply. It seems to be working now. Thanks a lot for your help and time taken !
I still have another issue (I think it's the last issue I have to finish the translation of my website to 100%).
My issue is about a Media Translation on my front page. I have installed and configured the Media Translation plugin. I already uploaded my translated files. But it doesn't show on my front page.
When I go to the English translated version of my homepage, it's still displaying the original file and note the translated media.
hidden link
Please, can you help me and explain how I can force my home page to use translated media ? I don't want to manually edit the translated page with Elementor. I want to keep it synchronized with my original page and keep using WPML Translation management and auto translate features.
I understand the issue you're experiencing. After reviewing the homepage, I noticed that the image that isn't being translated is embedded within an Elementor widget named "Image Layer" which is a feature of your Transmax theme.
Please note that the theme is not currently listed in WPML's compatible themes directory, which you can view here: https://wpml.org/theme/
As a result, it's possible that the widgets from this theme haven't been registered for translation yet, which may be why the widget isn't functioning correctly in the translated versions of your site.
Could you please review the guide below and ensure that the widgets are registered for translation? Once the widgets are registered, the images should display correctly in the translated versions.
I hope the information above is helpful. If the translated image still doesn't appear, it would be best to reach out to the theme author or their support team for further assistance. Since the theme is listed as compatible with WPML, they may be familiar with this issue and can provide more specific guidance.
I hope you can understand. If you have any other questions or need assistance, let me know. I'll be happy to help.
Thanks for your reply and thanks for splitting my previous ticket into a new one.
So, I followed the guides provided, and I can't make this to work.
Here's a screenshot of the current Elementor Widget : hidden link
Here's the XML I retrieved from the WPML – Config Generator for Elementor plugin : hidden link
And here's the result I got into the edit translation page : hidden link
I have the _id that's showed here. But I don't need to translate the _id.
I want to be able to translate the "thumbnail>url" and/or "thumbnail>id".
An other information that I already previously mentioned is that in the Translation Management page, when I try to add a translation for the page, with the help of Media Translation Plugin, it automatically detects the 3 medias of the widgets. (hidden link) If I select the only media I want to translate, I can't see it in the edit Translation Page (hidden link)
Here are my questions :
1. Is it possible that the way the data is stored and retrieved by the XML using the ">" character could be an issue ? I mean the "_id" field is fine and correctly displayed and translatable but not the "thumbnail>url" or "thumbnail>id".
So one of my guess could be that the ">" is and issue here for the compatiblity with WPML ?
2. How can I force WPML to reload and to take account of the XML I added into WPML > Settings > Custom XML Configuration. Because all the previous infos and screenshot I send are about a new test temporary page I created for the purpose of this ticket. But now, I can't find the new "_id" or any other widget fields related to the new XML configuration I added, on the edit translation home page : hidden link)
Please note that the XML setup seems correct. In some cases, the widget may contain a Greater Than symbol. However, since the XML detects a URL field, the image may be saved as a URL. To translate the image, you’ll need to translate the URL and add the link to the translated image within the translation editor.
Since the XML has already been added in "WPML > Settings", you'll need to make a small update to the default page to trigger a translation update. When updating the translation, the widget data should appear in the translation editor. Follow these steps:
1. Open the default page in the WordPress editor and make a small change to the page title.
2. Save the changes.
3. You’ll see an update icon (curved arrow) in the language meta section; click on it.
4. Once the translation editor opens, the widget data should be visible.
5. Try to translate the URL by following this guide: https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/
6. If the link appears in the result, add the link to the translated image as a translation.
Please give it a try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] Split: Translated media item is not showing.’ is closed to new replies.