Google translator
-
Hello
Some time ago you told me that you were going to integrate Google Translate as a service. But I see that it still does not appear integrated. Can you tell me something about it please? On this same website I am using the translator and you are not informed of the cookie. Thanks
The page I need help with: [log in to see the link]
-
Hi @oninmedia,
The Google Translate cookie on your website (and the service to which it belongs) are already available on CookieDatabase, please find the link attached below:
https://cookiedatabase.org/service/google-translate/So, I expect that the cookie just hasn’t been discovered in your Cookie Scan yet. If you go to the front-end of your website and use the translator widget once (so that it sets the cookies), then do a re-scan & sync with CookieDatabase under Wizard > Consent, it should appear in the list.
Hope it helps.
Kind regards,
JarnoHello Jarno
I get a “lang” cookie definition without a selected service… But it should not be included in Types of Service to third parties and from there mark it as it is also Google Maps or Google fonts for example…?This Cookie “wp_lang” appears to me but there is no way to identify it, it is as unidentified (red cross) that is why I told you that I do not understand that it cannot be added as a third-party service. Will try it again tomorrow to see if the data of this cookie is included
wp_lang is not from Google translate. Possibly from the plugin that embeds Google translate. Which plugin do you use?
Hello Roger
wp_lang is the cookie that appears in the complianz plugin I don’t have any language plugin installed. What I have installed is a widget with google code<div id=”google_translate_element”></div><script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘es’, includedLanguages: ‘ca,en,es,eu,fr,gl,it,pt’}, ‘google_translate_element’);
}
</script><script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>I’ve found that the wp_lang cookie is a core WordPress cookie to store language preferences for logged in users. It’s been added to cookiedatabase.org:
https://cookiedatabase.org/cookie/wordpress/wp_lang/I also see that the Google Translate cookies are first party cookies, so after the scan has found them, they will be synced, and the service will be added to your list.
As a placeholder is difficult for this service, we haven’t found a good way to block it in a user friendly way. But you can block it manually, by adding
translate.google.com/translate_a/element to the script center. You can also select a placeholder there. The placeholder should be linked to the class ‘skiptranslate’.
Hope this helps!
Hello Roger
Ok to cookie lang. Thanks..
Regarding Google Translate cookies, they have never been synchronized with any other website that I have installed, the Google translator does not appear on the list and I have made many updates but it has never recognized them.
About introducing it as a service, I have no problems, I can do it, but what happens is that I’m very clumsy and I don’t know how to do it and where to do it and how to add this code… Sorry…!!
If I go to your site, then switch language using Google Translate, I see Google Translate cookies in the browser.
If you do the same, then doublecheck if the cookies are present in your browser (click on the lock icon in the browser address bar, then “cookies”), then run a new scan, the cookies should get detected by the scan. Then you can run a cookiedatabase.org sync.
hi roger
Sorry, but I am doing what you tell me over and over again and there is no way to find or synchronize the google translate cookie.Hi @oninmedia,
Please excuse the slight delay in response time. Could you try the steps below, this should help detect the cookie
googtrans
in the scan.– Open a new incognito window, and login to the back-end of your site
– Navigate to Complianz > Wizard > Consent > Cookie scan
– In a new tab (but the same incognito window), visit the page with your Google Translate widget.– Translate the page to any language using the widget.
– In your Cookie Scan tab, run a new scan. It should now find the googtrans cookie.
Hope it helps!
Kind regards,
JarnoHi Jarnovos
Sorry for the delay in answering you… I have done everything you tell me over and over again and it does not detect it. I have also done it with other websites that have the google translator installed and it does not detect that cookie either.
But the strange thing is that I have accessed this website and others with the google translator installed and if I click on the url in the padlock no google translate cookie appears, it only appears if I go to developer tools and then if it detects it
_ga GA1.3.630392362.1645098440 .translate.google.com / 2024-02-17T11:47:19.000Z 29 Medium
Well, I don’t know what else can be done… But for me it is important to solve this problem since almost all the websites I make I install the Google translator or some plugin related to this translator.
Hi @oninmedia,
My best guess (before I will verify this). You don’t have a Statistics category, but _ga GA1.3.630392362.1645098440 .translate.google.com / 2024-02-17T11:47:19.000Z 29 Medium seems to be an analytics cookie, a common one set by Google.
Instead on google.com, it’s on translate.google.com. As Complianz is ignoring Statistics, this is ignored as well.
For now, I would suggest adding this manually in the wizard. I have pushed this to cookiedatabase.org to investigate.
regards Aert
Hello Aert
You mean that I put it manually in the “cookie description” section??? And once I add this cookie, what data do I include in the fields that appear by default:
What Name do I add….?
What service do I add is not reflected ..?
Expiration..?
Cookie function…?
Purpose is not reflected..?Thank you so much for everything
Hi @oninmedia
Just to be sure that we are talking about the same thing here… when I visit your website, and only after I used the language selector in the footer-widget, a cookie gets placed with the name googtrans.
That cookie should normally be picked up by the scan. The cookie has a functional purpose, so no need to ask for consent first. However, it is still needed to inform your visitors about that cookie. If one of the next scans doesn’t pick it up, you can also put it in manually. All the information for that can be found here: https://cookiedatabase.org/cookie/google-translate/googtrans/In addition to that, you would also need googtransopt: https://cookiedatabase.org/cookie/google-translate/googtransopt/
You also mentioned to Aert the _ga cookie that is being placed. When I visit your website that did not happen to me, so this made me wonder if it is being placed on the backend only. Do you have any form of (Google) analytics active on your website?
- The topic ‘Google translator’ is closed to new replies.