Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported an issue where the confirmation modal for the 'Redirect visitors based on browser language only if translations exist' setting in WPML does not close or save after clicking 'Got it, activate anyway'. This problem persists across different browsers and in incognito mode, with no visible JavaScript errors.
Solution:
We replicated the client's site locally and discovered that the issue was related to specific plugins from Hostinger, which are only intended for use on Hostinger servers. We recommend the following steps:
1. Temporarily disable the Hostinger plugins.
2. Try enabling the WPML setting again.
3. Re-enable the Hostinger plugins.
If the problem continues, consider setting up a staging site on your Hostinger server and provide us with access to further investigate.

Please note that this solution might be outdated or not applicable 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 issue persists, 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 1 reply, has 0 voices.

Last updated by gizem-leylaE 2 months, 1 week ago.

Assisted by: Andreas W..

Author Posts
November 18, 2025 at 2:41 pm #17588536

gizem-leylaE

Hi,

Regarding the translated template issue:
I know you are already investigating this. If you need anything from the theme’s development team, please let me know and I will provide it immediately.

I have another problem:

When I select “Redirect visitors based on browser language only if translations exist”, the warning popup appears, but clicking “Got it, activate anyway” does nothing.
The popup does not close and I cannot save the setting.

I tested different browsers, incognito mode, and there are no visible JS errors related to this action.
Could you please check why this confirmation modal isn’t working?

Thanks,

November 19, 2025 at 10:37 pm #17593693

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I took a local copy of your site, where I had to remove any plugins coming from Hostinger, as those plugins are designed for running on Hostinger Servers only.

When running the site without Hostinger's integration, the dialog worked as expected.

Also, take note that this dialog only appears when enabling this option for the first time.

I suggest you try disabling the "Hostinger" plugins temporarily, then enable the option, and after that, enable the plugins again.

If this does not solve the issue, it would be recommended to set up a staging site on your Hostinger Server and provide me with access.

November 20, 2025 at 3:39 pm #17596441

gizem-leylaE

The problem has been solved. Thank you.