Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe de WPML répond aux messages du forum 6 jours sur 7, 22 heures sur 24.

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

Problème: L'utilisateur ne pouvait pas avoir les langues dans des répertoires comme /en/ au lieu d'avoir un paramètre dans l'url comme ?lang=en Solution: L'utilisateur a trouvé une redirection dont il n'avait pas conscience qui était la cause de ce problème.

Auteur Messages
mai 29, 2019 à 4:40

marc-andreM-3

Primary site language: French
Secondary language: English

The problem occurs when I use the repertory URL format (/en/), it works fine using parameters (?lang=fr) but I need the repertory to work.

Problem: I can only access my Shop page in the site's primary language (french). If I use the language switcher it refreshes the page. I have no problem with any other pages. Clicking Shop in the main navigation always redirect to the french version of the page.

I tried disabling some plugins and I was able to access the page in both languages after disabling WPML translation management but only by using the language switcher when I'm on the Shop page itself. Clicking on Shop in the site's main navigation would still redirects to the french version.

Thanks

mai 29, 2019 à 4:59 #3917637

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for contacting WPML Support. I will be glad to help with this.

I'll need to investigate this issue locally, would you allow me to take a Duplicator copy of your website.

The provided credentials are not working, I activated the private box to share other credentials.

PS: Feel free to use French as this ticket was opened in the french forum.

Best regards,
Jamal
WPML Support

mai 29, 2019 à 5:31
mai 29, 2019 à 5:42 #3917847

marc-andreM-3

My issue is resolved now. Thank you!