This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with the 'Widget language switcher' not being visible when accessing WPML – Languages again. Additionally, there were concerns about the widget area being too wide and how to display the flag for the selected language in a narrow header view on tablet/mobile.
Solution: 1. To ensure the 'Widget language switcher' remains visible, we recommended deactivating and then reactivating WPML, which resolved the visibility issue.
2. To address potential issues with settings not being saved, we suggested increasing the PHP memory limit to at least 512M. This can be done by adding the following code to the 'wp-config.php' file:
3. We also advised checking for Object Cache conflicts by temporarily deactivating and purging the cache.
4. For diagnosing theme or plugin conflicts: - Create a backup of the website. - Use a default theme like 'TwentyTwenty' and deactivate all plugins except WPML-related ones. - Reactivate plugins one by one to identify any conflicts.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your 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 further assistance is needed, please 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.
Background of the issue:
I am using WPML with the Kadence Pro Theme on my new website hsolar.energy. I have created and configured a 'Widget language switcher'.
Symptoms:
The 'Widget language switcher' is no longer visible when WPML – Languages is accessed again. The widget area is wider than necessary, and in the 'Tablet / Mobile' view, the 'Widget area' is not available for selection.
Questions:
What do I have to set so that a configured 'Widget language switcher' remains visible?
How can I reduce the width of the widget area?
How can I display the flag for the selected language directly in the narrow view of the header in 'Tablet / Mobile' view?
Welcome to WPML support. There was no reply from chat so I created this ticket.
The 'Widget language switcher' is no longer visible when WPML – Languages is accessed again."
May I know what you mean by that?
I checked and the language switcher shows at the top right with no issues on desktop
For the smaller with pages the theme that you use hides that widget area.
You need to find what other widgets are available on the smaller sizes and add the language switcher there too
Yesterday I created a "Widget language switcher" and it was displayed in the corresponding WPML section in WordPress. Today I cannot see that "Widget language switcher there anymore. How can it get displayed again?
Yes, the flag symbol appears properly on the website. But the related width of the widget area is too wide. How can I make it smaller?
How to add the widget switcher to small size widgets?
Now I am confused what is the remaining problem.
As the login information is removed by the system I do not have access to the website to check:
- Would you please tell me what is the remaining problem
- I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Hi Christopher,
The following matter remains unresolved:
I have created and configured a 'Widget language switcher'.
The 'Widget language switcher' is no longer visible when WPML – Languages is accessed again.
What do I have to set so that a configured 'Widget language switcher' remains visible?
Kind regards,
Ulrich
Interesting, not saving an option usually happens when the WordPress installation does not use a proper PHP memory limit or when there is an Object Cache conflict or finally a theme/plugin conflict.
If you have Object Cache on your website, temporarily deactivate and purge the cache to see if it fixes the issue.
3- Theme/plugin conflict
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
. WPML Multilingual CMS
. WPML String translation
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
If the problem persists, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Also please give us permission to copy the website to our server for further investigation.