Skip to content Skip to sidebar

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 Andrey 1 year, 9 months ago.

Assisted by: Andrey.

Author Posts
October 19, 2023 at 8:31 pm #14619185

nunoF-13

So, my site main language is English.
I've translated to Portuguese
I have all pages translated and also de main menu
but
browsing the site in English (or in Portuguese) when switch language clicking the "other" language, the menu doesn't refresh. And the site goes to the home page.
I then need to refresh the page on the browser to have the right menu displayed
What am I doing wrong?

October 19, 2023 at 10:08 pm #14619395

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

You are not doing anything wrong. It relates to your current theme, as it probably doesn't refresh the page. I believe that the issue does not exist if you test it with any default theme.

We haven't tested your theme for compatibility:
https://wpml.org/theme/?wpv_view_count=119967&wpv-theme-category=0&wpv_post_search=Angio&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search

You can try to enable the option "Store a language cookie to support language filtering for AJAX" in WPML → Languages → Language filtering for AJAX operations.

If this doesn't help, I am afraid we can't do anything much here. I suggest you contact the author and ask him to apply to our Go Global program to make his theme fully compatible with WPML.

https://wpml.org/documentation/support/go-global-program/