WPML is not effectively translating the location parameter in your URLs based on the language switcher. Currently, when viewing the English version of the site, the URL appears as follows:
English URL: hidden link
However, when switching to the French language using the language switcher, the location parameter remains unchanged, resulting in the incorrect URL:
Incorrect French URL: hidden link
The expected behavior is for the location parameter to be translated according to the selected language, resulting in the correct French URL:
Correct French URL: hidden link
Despite having translated locations in the backend, the WPML language switcher is not appropriately translating the location parameter in accordance with the selected language. This issue needs to be addressed to ensure consistent and accurate translation of location parameters based on language selection."