Skip Navigation

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

Problem:
You are experiencing issues where the header, footer menu, and the 'shop now' button on your homepage are redirecting to English pages instead of Swedish, despite having set up the Swedish language in WPML.
Solution:
We recommend checking the layouts for your Swedish pages. Please navigate to Avada > Layouts and switch the language setting to Swedish at the top bar. After this, ensure that you assign the correct layouts to each page, similar to how you configured them for the English version. This adjustment should align the redirection of your menus and buttons with the intended language settings.

If this solution does not resolve your issue or seems outdated, we advise you to check for related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. Should the problem persist, please do not hesitate to open a new support ticket with us for further assistance. You can reach our support forum at https://wpml.org/forums/forum/english-support/.

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 2 voices.

Last updated by Lucas Vidal de Andrade 6 months, 2 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
June 12, 2024 at 12:00 pm

samR-16

Background of the issue:
I have been through a few troubles with WPML. First, I added many new languages at once, which made the page stop working, so I reinstalled WPML. Then, I chose to begin with just Swedish to make one language work to start out with. Then, I talked to you guys at support and realized, that I should turn off object cache when adding a new language, which resolved a lot of the issues, but not all.

Symptoms:
Now, I experience issues with my header and footer menu as well as the large 'shop now' button on my home page. When clicking any of the mentioned links from the Swedish language page, I am being redirected to an English page.

Questions:
How can I resolve the issue with my header and footer menu not redirecting to the correct language?
How can I fix the 'shop now' button on my home page so that Swedish speaking visitors will stay on Swedish pages?

June 12, 2024 at 1:45 pm
June 12, 2024 at 7:51 pm #15733432

Lucas Vidal de Andrade
Supporter

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

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

Hey there,

I checked your website in more detail, and noticed that the layouts, even though they are translated, are not set for the Swedish pages.

Please go to Avada > Layouts and change the language at the top bar to Swedish. Subsequently, please set the layouts for each page, like you did in the English version. Let me know if that helps.

Avada Layouts _ Mondo by Defunc _ WordPress.jpeg