Skip to content

Works with your stack

Cookie consent for GTranslate

the visitor asked for it

← Cookie Rocks for your stack

GTranslate translates pages with Google, in the visitor’s browser in the free version. Its library loads when the visitor reaches for the language switcher, or at once when a language is already chosen or detected. Cookie Rocks classes GTranslate as necessary and never holds it.

By GTranslate Inc. · gtranslate.io · WordPress.org

Is this your product? Tell us if anything here is out of date. Write to us

GTranslate

WordPress plugin

Tested
Tested version
5.0.2
How
Tested automatically around each Cookie Rocks version
Last test
7 November 2026
Latest version
5.0.2 tested
Active installs
900,000+

What GTranslate adds to your visitors’ browser

No trackers In our test of GTranslate 5.0.2 on 7 November 2026, the plugin itself added no tracker and no cookie. What you place in your pages with it, such as a video or a map, still counts.

What matters for consent with GTranslate

Loaded on request

GTranslate serves its widget from your site and adds its translation library only when the visitor points at or clicks the switcher, or on load when a language is kept or detected from the browser.

Page text goes to Google

In the free version, once a language is chosen or detected, the page text is sent from the visitor’s browser to Google Translate, banner text included. Mention it in your privacy policy.

Necessary, never held

Cookie Rocks recognises GTranslate, classes it as necessary and lists its cookie and the Google host in your cookie list.

Paid versions relay requests

With language folders in a paid version, your site relays each translated page request to GTranslate’s servers, with the visitor’s headers and cookies. No banner can hold that: mention it in your privacy policy.

What our tests found on GTranslate

  • Set before the choice · GTranslateGTranslate loads its library when the visitor points at the switcher

    setting “enable_cdn” · by default: off

    It also loads on click, or on page load if a language is kept or detected. It no longer sets googtrans and keeps the language in localStorage.

    Read in its code, 16 October 2026, GTranslate 5.0.1.

    Full detail

    GTranslate 5.0.1 serves its widget scripts from the site by default (CDN option off) and inserts its translation library (cdn.gtranslate.net/widgets/latest/lib.min.js) with JavaScript when the visitor points at or focuses the switcher, clicks it, or on load if a language is kept or browser language detection applies. Every response also carries a Link: <https://cdn.gtranslate.net/>; rel=dns-prefetch header. It no longer sets googtrans; it keeps the language in localStorage __GT_TRANSLATE_LANGS (and gt_autoswitch).

  • Sent from your server · GTranslateGTranslate paid versions relay visitors' requests and cookies to its servers

    With language folders, each translated page request is sent with the visitor's headers, cookies, form data, files and IP address. With browser detection, it sets gt_auto_switch for 30 days.

    Read in its code, 16 October 2026, GTranslate 5.0.1.

    Full detail

    In GTranslate's paid versions with language folders, the site relays each translated page request to <server>.tdn.gtranslate.net with all the visitor's HTTP headers (cookies included, so the consent cookie too), form bodies, uploaded files and IP address. With browser detection, PHP sets gt_auto_switch for 30 days on the home page and redirects by Accept-Language (Vary: Accept-Language).

  • Good to know · GTranslateGTranslate free sends the page text to Google once a language is chosen

    This also happens when the language is detected from the browser. Text added later is translated too, so the banner's text is sent. Elements marked notranslate are skipped.

    Read in its code, 16 October 2026, GTranslate 5.0.1.

    Full detail

    In GTranslate's free version, once a language is chosen (or detected from the browser, without a click), the page text is posted from the visitor's browser to translate-pa.googleapis.com, and a MutationObserver translates text added later, so a banner's text is sent too. Elements with the class notranslate or translate="no" are skipped.

How we test it

Around each version, with its latest release

Around each Cookie Rocks version, a fresh WordPress installs its latest version from WordPress.org next to Cookie Rocks and runs the same checks. A new version joins the next run on its own.

  • GTranslate 5.0.2, tested on 7 November 2026.
  • The banner shows, the trackers of the test page wait for consent and load after it, and Cookie Rocks raises no PHP error.
  • Settings of the test: Default settings after activation.
  • Last run: GTranslate 5.0.2 on 7 November 2026, with WordPress 7.1.3.

Questions

Can I keep the banner out of the translation?

Yes. GTranslate skips elements with the notranslate class or translate="no".

What happens after the 30-day trial?

The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.

For sites with GTranslate

Translation stays one click away.

never held

Every feature of the complete plugin for 30 days, no card. GTranslate keeps working as it does today.

  • During the trial: everything, including the full settings and the scans
  • After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
  • What waits for a key: most settings, updates and support

How the trial works, in detail

Get your trial key

Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.

One trial per domain. Local and staging sites never use up your key.

We keep your e-mail address to send your key and help you with it, as explained in our privacy policy. No newsletter, nothing else.