Google Translate Website Widget Is Shutting Down: What to Use Instead

If your website still uses the Google Translate Website Translator Widget, there is an important change coming.

Google announced that the Website Translator Widget will no longer be supported starting October 1, 2026.

For years, the widget offered website owners one of the easiest ways to make their content available in multiple languages: add a small piece of JavaScript, place a language selector on the site, and let visitors choose their language.

Now that option is going away.

Google points website owners who need ongoing automated translation to its Cloud Translation API. That gives developers a flexible way to build translation into their own applications, but website owners who simply want a language selector may prefer a ready-to-use solution.

GTranslate provides a Website Translator Widget that works in much the same way: choose your languages, customize the selector, add a small JavaScript snippet to your website, and you are ready to go.

What exactly is Google discontinuing?

It is important to clarify that Google is not discontinuing Google Translate itself.

The change affects the Google Translate Website Translator Widget — the embeddable website tool that site owners could add directly to their pages.

A typical installation looked something like this:

<div id="google_translate_element"></div>
<script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en',
    includedLanguages: 'en,es,de,fr,it,pt,zh-CN'
  }, 'google_translate_element');
}
</script>
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

It was popular for a simple reason: you did not need to build a translation system.

Google's JavaScript handled the translation, while the website owner only needed to decide where the language selector should appear and which languages to offer.

Starting October 1, 2026, Google says this Website Translator Widget will no longer be supported.

Looking for a Google Website Translator replacement?

We built the GTranslate Website Translator Widget around the same idea: website translation should be easy to add.

A basic GTranslate installation can look like this:

<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
  "default_language": "en",
  "languages": ["en","es","de","fr","it","pt","zh-CN"],
  "wrapper_selector": ".gtranslate_wrapper"
}
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dropdown.js" defer></script>

There is no need to build your own translation interface or integrate a translation API.

You simply:

  • Select the original language of your website.
  • Choose the languages you want to offer.
  • Pick the language selector style you prefer.
  • Copy the generated code to your website.

That's it.

For website owners who were comfortable with the simplicity of Google's old widget, the transition should feel familiar.

You can even keep the same location on your website

If your current design already has a place reserved for the Google translator, you do not necessarily need to redesign anything.

For example, if your site contains:

<div id="google_translate_element"></div>

you can keep that container and tell GTranslate to use it:

<div id="google_translate_element"></div>
<script>
window.gtranslateSettings = {
  "default_language": "en",
  "languages": ["en","es","de","fr","it","pt","zh-CN"],
  "wrapper_selector": "#google_translate_element"
}
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dropdown.js" defer></script>

In other words, you can remove the discontinued Google translation script while keeping the language selector in the same place on your site.

More control over how your language selector looks

The old Google Website Translator was useful, but there was not much freedom when it came to its appearance.

With GTranslate, you can choose from several types of language selectors and adjust them to better match your website.

Options include:

  • Floating language selectors
  • Dropdown menus
  • Language names
  • Language codes
  • Country flags
  • Globe-style selectors
  • Popup selectors
  • Native language names
  • Different widget positions
  • Different opening directions
  • Multiple flag styles and sizes
  • Light and dark configurations
  • Automatic switching based on the visitor's browser language

You can configure everything visually using the GTranslate Website Translator Widget generator and then copy the generated code to your website.

Is there a free alternative to the Google Translate Website Widget?

Yes — for qualifying non-commercial websites.

GTranslate offers a free Website Translator Widget.

The free version provides:

  • A customizable language selector
  • Machine translation
  • All supported languages
  • Unlimited words
  • Unlimited pageviews

It is designed for permitted non-commercial use, such as personal websites, educational projects, non-profit organizations, government websites and other qualifying non-revenue-generating sites.

So if you were using Google's Website Translator simply to make information available to visitors in different languages, GTranslate can provide a straightforward replacement without requiring you to build a translation system yourself.

What if you run a commercial website?

If you operate a business, online store or other commercial website, replacing the old widget is also a good opportunity to think about what you actually want translation to accomplish.

There is an important difference between helping someone who is already on your website read a page and creating a multilingual website that people can discover through search engines.

A basic translation widget handles the first problem.

GTranslate's paid versions go further by addressing the second use case as well.

Instead of translations existing only temporarily in a visitor's browser, paid GTranslate plans can serve translated versions of your pages from dedicated language-specific URLs.

For example:

example.com/es/
example.com/fr/
example.com/de/

or:

es.example.com
fr.example.com
de.example.com

Depending on your configuration, country-specific domains can also be used.

This creates an actual multilingual website structure rather than simply translating the page a visitor is currently viewing.

From website translation to international SEO

This distinction becomes particularly important if international traffic matters to your business.

With separate URLs for different languages, translated pages can be crawled and indexed by search engines.

That means someone searching in Spanish, French or German can potentially discover the translated version of your website before they ever visit your original-language site.

Paid GTranslate plans can include features such as:

  • AI-powered automatic translation
  • Search-engine-indexable translated pages
  • Dedicated URLs for each language
  • Manual translation editing
  • Inline translation editing
  • Multilingual SEO
  • URL translation
  • Language-specific domains or subdomains
  • Translation traffic statistics
  • Translation Delivery Network
  • Unlimited words and pageviews

So there are really two different use cases.

If you simply need a replacement for Google's old translation widget, the GTranslate Website Translator Widget gives visitors an easy way to translate your pages.

If you want translation to help grow your business internationally, a full multilingual website with indexable translated pages is a much more powerful approach.

Using WordPress, Joomla or Drupal?

If your website runs on a popular CMS, you may not need to work with JavaScript at all.

GTranslate provides ready-to-use integrations for WordPress, Joomla, and Drupal.

Install the appropriate integration, choose your languages, and configure the language selector directly from your website's administration area.

For existing GTranslate users, the transition away from Google's discontinued widget can therefore be handled directly through GTranslate rather than requiring you to find and integrate a completely different translation solution.

What about HTML websites and other platforms?

GTranslate is not limited to WordPress, Joomla or Drupal.

The Website Translator Widget can be installed on standard HTML websites and on other website platforms that allow you to insert custom HTML and JavaScript.

That means the same basic solution can work across many different website technologies:

Add the widget → choose your languages → let visitors translate the site.

There are no special server-side requirements for the JavaScript widget.

How to replace the Google Translate Website Widget

If your site currently uses Google's widget, the migration is relatively simple.

First, find the existing Google translation code on your website. If you are not sure where it is, search your templates or source code for terms such as:

google_translate_element
googleTranslateElementInit
google.translate.TranslateElement
translate.google.com
translate_a/element.js

Then:

  • Note the original language of your website.
  • Note which translated languages you currently offer.
  • Open the GTranslate Website Translator Widget generator.
  • Select your original language and translation languages.
  • Choose the widget appearance you prefer.
  • Copy the generated GTranslate code.
  • Remove the old Google translation JavaScript.
  • Add the GTranslate code in its place.
  • Test the language selector on desktop and mobile.

If you already have a suitable container in your website layout, you can also reuse it as described above.

GTranslate Widget or Google Cloud Translation API?

Google recommends its Cloud Translation API for site owners who need ongoing automated translation.

Whether that is the right option depends on what you are trying to build.

If you are a developer creating an application and need to send text programmatically for translation, an API makes sense.

But if your requirement is simply:

“I used to have the Google Translate Website Widget on my site and I need something to replace it.”

building a custom API integration may be unnecessary.

GTranslate provides the language selector and website translation experience for you.

And if you later decide that you want translated pages to be indexed by search engines, edit translations manually or build an international SEO strategy, you can move to one of the paid GTranslate solutions.

Google is ending its Website Translator. Your multilingual website doesn't have to end with it.

The Google Translate Website Translator Widget made website translation accessible to millions of site owners because it was simple.

Its discontinuation does not mean you need to give up that simplicity.

With GTranslate, you can add a language selector to your website with a small JavaScript snippet or install one of our CMS integrations for WordPress, Joomla or Drupal.

For non-commercial websites, start with the free GTranslate Website Translator Widget.

For commercial websites and businesses that want multilingual SEO, editable translations and dedicated translated URLs, try GTranslate's paid version free for 15 days.

Either way, if your website still relies on Google's Website Translator Widget, now is a good time to make the switch — before support ends on October 1, 2026.

Try GTranslate with a free 15 day trial