Home›Support›English Support›[Resolved] Shop mega menu brand logos refer to original language instead of the translated one.
[Resolved] Shop mega menu brand logos refer to original language instead of the translated one.
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with your shop's mega menu brand logos referring to the original language instead of the translated one,
Solution: We recommend adding the following code in WPML -> Settings -> Custom XML Configuration to register the non-standard Elementor Widget (Image or SVG) used for brand logos and custom links for translation:
After adding the code, you can translate the necessary fields directly in the translation editor. For further guidance on registering custom Elementor widgets for translation, please refer to our guide: Registering Custom Elementor Widgets for Translation. Additionally, to translate URLs, shortcodes, and HTML attributes using the Advanced Translation Editor (ATE), you can search for "http" within ATE, and it will display all the links for translation. For more details, check out this guide: How to Translate URLs, Shortcodes, and HTML Attributes using ATE.
Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, do not hesitate to open a new support ticket in our 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.
Reference to our recent chat, I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.
Your next answer will be private, to share this information safely.
Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.
IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.
Since that Elementor Widget (Image or SVG) used for brand logo and custom link, isn't a standard one, so it needed to be registered with WPML for translation.
The above code now brings all fields of that widget into the translation editor, where you can translate as needed (see attached). So now you can go to edit "Shop - Mega Menu" in default language and click pencil icon to update the translation. And when in Translation Editor, search for the links and translate accordingly.
Thank you for your help, I managed to translate everything. However, there is a gap between the header and the slider when the website is translated. And if you click on Shop you will see that the images are missing and just plant text. Could you please, help me with this one?
Thank you for the updates and glad that reported problem has been resolved.
For the other issues, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So you can get more to the point help, without mixing up several issues in one long ticket.
Please feel free to close this ticket as resolved.