Sensode Black and Cookie Banner |
Post Reply | Page <123> |
Author | |||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
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. |
|||||
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
||||
Give me a link to your site
|
|||||
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
||||
You can try adding one of the following:
or
or
or
Right after this line:
In the french page javascript code block. Let us know the result. Edited by Hobby001 - Apr 13 2021 at 10:09am |
|||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
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'; |
|||||
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
||||
Did you try it?
|
|||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
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 |
|||||
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(1)
|
||||
Just tested it on a site,
Add the line to the javascript code block just before the init command line.
And change the targetted language on each language version Edited by Hobby001 - Apr 13 2021 at 8:21pm |
|||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
Thanks so much Hobby001. I'll give it a go and revert with feedback
|
|||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
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 |
|||||
WattJet
Senior Member Joined: Jan 04 2016 Status: Offline Points: 256 |
Post Options
Thanks(0)
|
||||
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 |
|||||
Post Reply | Page <123> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |