Skip to content Skip to sidebar

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

Problem:
You are experiencing issues with the language switcher button on your site, which only functions correctly after refreshing the page. This problem occurs due to ajax loading.
Solution:
We have identified that the issue stems from a conflict between the Bricks Forge plugin and WPML. To resolve this, you can try deactivating the Bricks Forge plugin to see if the language switcher then works as expected without needing a page refresh. If deactivating the plugin resolves the issue, it suggests that the plugin alters how page transitions are handled, which interferes with the language switcher's immediate response. Since this plugin has not been verified to work with WPML, we recommend contacting the theme authors for further assistance or searching for an alternative plugin that is compatible with WPML. You can find WPML compatible plugins here: https://wpml.org/plugin/

If this solution does not apply to your case, or if it becomes outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket at our 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 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 2 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
May 26, 2025 at 6:08 pm

Cristian Manzur

Background of the issue:
I am trying to make the language switcher button work on my site, hidden link, which uses ajax loading. Previously, I received help to make the switcher button work when clicked, but it only works after pressing F5 or refreshing the page. I want to know how to make it work without needing to refresh.

Symptoms:
The language switcher button only works after refreshing the page, not immediately upon clicking due to ajax loading.

Questions:
How can I make the language switcher work without refreshing the page?

May 26, 2025 at 7:04 pm
May 26, 2025 at 9:10 pm #17075262

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I downloaded a copy of your website, and I was able to confirm that the issue is being caused by a conflict between the Bricks Forge plugin and WPML. If you deactivate this plugin, the menu will work as expected.

I suspect this plugin changes the way page transitions work, and that is preventing the menu from being updated immediately after switching languages, even though I could not confirm that. This plugin has not been verified to work with WPML. In that case, I'd recommend you to reach out to the theme Authors, or to try looking for another WPML compatible plugin that might replace it:

https://wpml.org/plugin/

Let me know if you have any other questions.