Skip to content Skip to sidebar

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:

/** Memory Limit */<br />define('WP_MEMORY_LIMIT', '512M');<br />define('WP_MAX_MEMORY_LIMIT', '512M');

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.

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by ulrichH-8 2 weeks, 4 days ago.

Assisted by: Christopher Amirian.

Author Posts
August 10, 2025 at 11:39 am #17307543

ulrichH-8

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?

August 10, 2025 at 11:54 am #17307581

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

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

Thanks.

August 10, 2025 at 1:24 pm #17307648

ulrichH-8

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?

2025-08-10 006050 Posteingang - ulrich.hueck@hsolar.energy - Outlook.jpg
August 10, 2025 at 1:40 pm #17307676

ulrichH-8

I resoved most of the issues myself using
[wpml_language_selector_widget] and [wpml_language_selector_footer]
Only the first question remains open.

August 11, 2025 at 2:54 pm #17310462

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I'm glad that you managed to fix the issues,

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.

Make sure you set the next reply as private.

August 16, 2025 at 7:32 pm #17325000

ulrichH-8

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

2025-08-16 006081 .jpg
August 17, 2025 at 12:23 pm #17325422

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

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.

1. PHP memory Limit

The minimum requirement is 128M but I suggest that you increase it to 512M: https://wpml.org/home/minimum-requirements/

You can add this by adding the code below to "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

2. Object Cache 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.

Thanks.

August 25, 2025 at 8:24 am #17344034

ulrichH-8

I fully deactivated and then activated WPML again. Now the widget language switcher remains visible. You can close the ticket.