Skip Navigation

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

Problem:
The client is experiencing an issue where switching the website language from English to Italian does not work. The language switcher does not show Italian, and a '#' appears in the URL when switching to English.
Solution:
We recommend checking if the language switcher is enabled in your WordPress dashboard. Please navigate to WPML > Languages and ensure that the Footer language switcher is active. If the problem persists, it may be related to custom functions that were recently modified or updated. Since these are not related to WPML, we suggest proceeding with debugging these custom functions independently.

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 continues, please do not hesitate to open a new support ticket at WPML support forum for further assistance.

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.

This topic contains 4 replies, has 2 voices.

Last updated by Alessandro 10 months, 2 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
August 20, 2024 at 2:57 pm #16087555

Alessandro

Background of the issue:
I am trying to switch the page language from Italian to English and vice versa.

Symptoms:
Switching from Italian to English works fine, but switching from English to Italian does not. The language switcher doesn’t show Italian, and a '#' appears in the URL when switching to English.

Questions:
Why does the language switcher not show Italian when switching from English?
What causes the '#' to appear in the URL when switching to English?

August 20, 2024 at 3:04 pm #16087568

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

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

Hi there,

The chat seems to be disconnected. I checked your website and it does not have any language switcher.

Would you please go to WordPress Dashboard > WPML > Languages and enable the Footer language switcher and give us the link of the website to check?

Thanks.

August 20, 2024 at 3:08 pm #16087570

Alessandro

Good morning Christopher, what you see is the old website. WordPress is hidden because we’re finishing the configuration. By the way I’d like to explain better the situation:
On the site in question the main language is Italian while the other is English. Everything seemed to work correctly but today (after an update of wpml for woocommerce although I do not know if it is the cause) we observed this behavior: the site in Italian works correctly and the translation language in English is always available. If I switch to the English language the Italian language is no longer available for any page. The only strange thing I noticed is that a /# is added in the address bar. Do you have any suggestions on this?

August 20, 2024 at 3:15 pm #16087583

Alessandro

I want to inform You that I just updated to Version 4.6.13 but the situation doesn’t change.
Waiting for an Your kind reply

August 20, 2024 at 5:38 pm #16088018

Alessandro

Good morning Christopher, I have identified the problem and it has nothing to do with WPML. Unfortunately these are custom functions that we have created so we will proceed with the relative debugging and solve the problem independently.
Thanks for your patience and support.
Ale

August 20, 2024 at 5:40 pm #16088021

Alessandro

I ask You to delete access I share with You from public view.
Thx