Skip Navigation

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

Last updated by Mateus Getulio 1 year, 5 months ago.

Assisted by: Mateus Getulio.

Author Posts
January 16, 2024 at 6:47 am #15187827

ericR-42

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."

January 16, 2024 at 7:26 pm #15191920

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

It seems you have confirmed in the ticket previously created that the issue is already solved: https://wpml.org/forums/topic/not-translate-the-custom-parameter-in-the-url/

Therefore, I hope we are good to close here. Feel free to contact us any time if you need assistance with our products.

Kind regards,
Mateus.