Skip to content Skip to sidebar

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

Problem:
Additional strings are in English instead of French, possibly due to the WP Cookie consent plugin having a language selector in its settings, while the site's main language is French.
Solution:
We recommend changing the source language of the strings to English and then translating them into French. You can follow the steps provided in our guide on how to change the source language of strings:

If this solution does not apply to your case, or if it seems outdated, we encourage you to open a new support ticket. We also 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. For further assistance, please visit our support forum: WPML Support Forum.

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 6 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 5 months ago.

Assisted by: Mohamed Sayed.

Author Posts
February 14, 2024 at 4:47 pm #15303681

jocelynG-2

Additionnal strings are in English where they are supposed to be in French.
Could it be that WP Cookie consent plugin having a language selector in it's settings is causing this bug, the site's main language being French?

Capture d’écran, le 2024-02-14 à 10.52.41.png
Capture d’écran, le 2024-02-14 à 10.56.46.png
February 14, 2024 at 8:38 pm #15304387

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

Please follow the steps mentioned in the following guide to change the source language of those strings to English then translate them into French:
https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Let me know please if that helps.

Kind regards,
Mohamed

February 14, 2024 at 8:53 pm #15304391

jocelynG-2

Thanks Mohamed, it resolved the issue.

February 14, 2024 at 8:57 pm #15304393

jocelynG-2

Oups. Not yet. The English version of the site has the text of the cookie banner in french. It was in english before I did the change

February 14, 2024 at 8:59 pm #15304394

jocelynG-2

See here

Capture d’écran, le 2024-02-14 à 15.59.18.png
February 14, 2024 at 9:05 pm #15304410

jocelynG-2

Well, looks like I managed to correct the issue by changing the text in WP cookie consent plugin settings. This plugin is not quite compatible with WPML. Thanks again

February 15, 2024 at 8:56 am #15305559

Mohamed Sayed

I'm glad to hear that you managed to resolve this issue. If you still encounter issues with this plugin, I suggest using an alternative plugin.

You can check the list of compatible plugins at this link: https://wpml.org/plugin/