Sauter la navigation

Ce sujet contient 0 réponse, a 0 voix.

Dernière mise à jour par masaloK Il y a 1 semaine et 2 jours.

Assisté par: Bruno Kos.

Auteur Articles
décembre 4, 2024 à 6:27 am #16474403

masaloK

Background of the issue:
I am using Cookiebot as our consent managing platform and we always receive an error message when scanning the website, because the wp-wpml_current_language is loaded prior to the users consent. It is really important for us to set the cookie after the consent by making it not a functional but a "preferences" cookie - Cookiebot recommends using the following script ( ).

Symptoms:
Error message when scanning the website with Cookiebot because the wp-wpml_current_language is loaded prior to user consent.

Questions:
Can you help me which file to modify or where the script has to go in order to work?
Is there a way to fully deactivate the "current language" function and instead just set a default language and have WPML not set this cookie?