This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where the navigation menu language switcher worked on desktop but not on mobile. The language flag expected on mobile was not appearing, and the switcher could not be clicked or used to switch languages.
Solution:
Initially, we asked the client to check if the problem persisted and to increase the WordPress memory limit as per WPML's minimum requirements, which can be done by adding the following code to the wp-config.php file:
/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');
After further investigation, we identified that the issue was related to the theme handling the dropdown. Our compatibility specialists resolved the issue by adding custom CSS code in WPML -> Languages -> Language switcher options -> Additional CSS. This fix allowed the language switcher to function correctly on mobile devices.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific 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 problem persists, please do not hesitate to 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.
This topic contains 2 replies, has 0 voices.
Last updated by 1 week, 2 days ago.
Assisted by: Carlos Rojas.