Home›Support›English Support›[Resolved] The widget of WPML Language Translator is not working in mobile, short screen.
[Resolved] The widget of WPML Language Translator is not working in mobile, short screen.
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with the WPML Language Translator widget not working on mobile devices when placed within the Microwidget area of The7 Theme. Solution: We have investigated the issue and found that the language switcher functions correctly when placed on a page, but not within the Microwidget area of The7 Theme. This suggests that the problem is specific to the theme, possibly due to mobile performance or design considerations, or incorrect event handling for mobile devices. We recommend reporting this issue to the The7 theme support for further assistance, as they can provide insights into theme-specific settings or issues that may need to be resolved.
Please note that the solution provided here might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need help, please do not hesitate to open a new support ticket. For further assistance, you can reach out to us on the WPML support forum.
100% of people find this useful.
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.
I understand the problem you're having. Upon reviewing your site, I noticed that you've added the language switcher using the default language switcher element provided by your theme, The7.
Given that your site uses a different header for mobile devices, could you kindly remove the existing language switcher from the mobile header and integrate WPML's default language switcher instead?
By doing so, we'll be able to determine whether the issue with the language switcher persists on mobile devices in general or is specifically related to your theme's language switcher functionality.
Let me know the update. I will be happy to help if you need further assistance in this matter.
Hi There,
Thank you for trying out the suggestions.
I noticed that the version of the `The7` theme that you're using is outdated. The theme's Script libraries have been updated in versions released after the one you have (you can view the updates in the changelog here: hidden link). Given that the issue at hand appears to be script-related, I strongly recommend updating the theme to the latest version(11.11.3).
Once the Theme is updated, remove and add the Language switcher again using the Shortcode or the default language switcher element of the `The7` theme and check if you;re still having the issue.
Let me know how it goes. I will be happy to help if you need further assistance in this matter.
As the issue persists despite the suggestions, a closer inspection will be required to understand the root cause of the issue.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.
You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Hello There,
Thank you for sharing the access information.
I've checked and found that the language switcher only doesn't work when it's placed within the Microwidget area of The7 Theme. However, when the language switcher is placed on a page, it functions correctly. For a clearer view, you can visit this page (hidden link) from a mobile device to see how the language switcher placed on the page works.
It's possible that the theme disables certain features on mobile devices for performance or design considerations, or the event handling on mobile devices isn't configured correctly. Given that the language switcher functions correctly on other parts of the site and only encounters issues within the Microwidget area of the The7 theme, it would be best to report the issue to the The7 theme. They can provide insights into theme-specific settings or issues that may need to be resolved.
I hope you can understand. Please feel free to let me know the update or anything else you need help with. I will be happy to assist.
Good afternoon sir,
Since you told me that WPML will not run in micro widget, please tell me the option so that it can run in micro widget only.
Or please tell us the code files so that we can do custom coding and run the WTML in the head section.
I understand how important it is for the WPML language switcher to function correctly in the microwidget area of your website.
Since the issue appears specifically when the WPML shortcode is placed within the microwidget(you can place the language switcher shortcode on any page to test), it suggests that this might be related to the unique way `The7` theme handles its widget areas. Often, such issues require a detailed look into the theme's coding and structure, which is best handled by the theme's support team who are experts in their product’s code base.
Instead of making changes in the code, the most effective course of action would be to reach out directly to the `The7` support team. They are well-equipped to provide specific guidance and, if necessary, a tailored solution that ensures compatibility between their theme and the WPML plugin within the microwidget area.
While I wish I could resolve this directly, my goal is to guide you toward the fastest and most effective solution, and in this case, that involves using the specialized knowledge of The7’s support team.
If you have any more questions or need further assistance with anything else, please feel free to let me know. I will be happy to help.