BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> Templates
  New Posts New Posts RSS Feed - Sensode Black and Cookie Banner
  FAQ FAQ  Forum Search   Register Register  Login Login

Sensode Black and Cookie Banner

 Post Reply Post Reply Page  <123>
Author
Message
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 12 2021 at 8:19pm
Hi Hobby001,
The suggested modification only directs the user to the one privacy policy or the other, but it does not change the way in which the cookie selection box is shown.
Tarteaucitron has locales in 20+ languages.

The cookie box shows appears to show the language by default of the windows version. (My PC windows is in English, but I used to test a PC with windows version in Spanish and the default site (which is in english), showed the cookie box in spanish.

However, when I switch the language in the website, the cookies remain in the same language (set by Windows system). Therefore, it seems the script is capable to identify the language of the system, but not the language set in OE

When I made the consultation, the developer responded:

But as far as I understand, this only fixes the language, but does not provide the way to make that the language selected in the Website sets the language of the cookie box.

Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6209
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Apr 12 2021 at 8:58pm
Give me a link to your site
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6209
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 10:09am
You can try adding one of the following:

"lang":"fr",

or

"lang":"tarteaucitron.fr",

or

"lang":"tarteaucitron/tarteaucitron.fr",

or

"lang":"/tarteaucitron/tarteaucitron.fr",

Right after this line:

"privacyUrl": "", /* Privacy policy url */

In the french page javascript code block.  Let us know the result.



Edited by Hobby001 - Apr 13 2021 at 10:09am
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 5:48pm
Hi Hobby001,
I tried them all and none work.
The site is mydatamygain.com
The response of the developer was:
Before the loading  of tarteaucitron you have to declare (Il faut déclarer avant le chargement de tarteaucitron): var tarteaucitronForceLanguage = 'fr';


Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6209
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 6:01pm
Originally posted by WattJet WattJet wrote:

Hi Hobby001,
I tried them all and none work.
The site is mydatamygain.com
The response of the developer was:
Before the loading  of tarteaucitron you have to declare (Il faut déclarer avant le chargement de tarteaucitron): var tarteaucitronForceLanguage = 'fr';



Did you try it?
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 7:36pm
I tried it with not much success..., probably my fault. I was wondering what does he exactly mean with  "before the loading  of tarteaucitron you have to declare (Il faut déclarer avant le chargement de tarteaucitron)
I first put that declaration in the first line of the script. The I wrote 1 line script before tarteaucitron.js. but I am not sure if I did it correct.

I assume that I have to select the language in the Base (fr) and then enable it in the window of the code itself... but I am not sure where to put that line


Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6209
Post Options Post Options   Thanks (1) Thanks(1)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 8:20pm
Just tested it on a site,

Add the line to the javascript code block just before the init command line.



var tarteaucitronForceLanguage = 'en';

tarteaucitron.init({
"privacyUrl": "", /* Privacy policy url */

"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */

"orientation": "middle", /* Banner position (top - bottom) */

"groupServices": false, /* Group services by category */
                 
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
                 
"closePopup": false, /* Show a close X on the banner */

"showIcon": true, /* Show cookie icon to manage cookies */
//"iconSrc": "", /* Optionnal: URL or base64 encoded image */
"iconPosition": "BottomRight", /* BottomRight, BottomLeft, TopRight and TopLeft */

"adblocker": false, /* Show a Warning if an adblocker is detected */
                 
"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
                 
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */

"removeCredit": false, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */

"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */

//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
                
"readmoreLink": "", /* Change the default readmore link */

"mandatory": true, /* Show a message about mandatory cookies */
});


And change the targetted language on each language version


Edited by Hobby001 - Apr 13 2021 at 8:21pm
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 8:28pm
Thanks so much Hobby001.  I'll give it a go and revert with feedback
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 8:35pm
It works perfectly!!! for en & Fr. I will include the changes for the rest of the languages.
Thanks so much !





Edited by WattJet - Apr 13 2021 at 8:46pm
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Apr 13 2021 at 8:52pm
The change of languages works now fine.... but the cookies actions only work in the default (english).

The only cookies that the site has are those related to the Youtube videos incorporated to the site. Tarteaucitron app works well since it allows you to avance in the site until you get to the videos, which are blocked until you accept the cookies. If you deny cookies the videos will not be available

Please check the site mydatamygain.com (in english by default), and without accepting the cookies scroll down and click in one of the video images. It will open another page with the videos that will only open if you accept.

This function only works in english. It does not work in any of the other languages. Even if you deny cookies, the videos remain open



Edited by WattJet - Apr 13 2021 at 8:54pm
Back to Top
 Post Reply Post Reply Page  <123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.