Back to Support Design Your Site Google Translate Widget

Google Translate Widget

The Google Translate Widget is a quick way to allow site visitors to see your content in another language. While most browsers support built-in translation already, you may still wish to display a language option on your site.

Add the Google Translate Widget

To add the widget to your site:

  1. In your dashboard, click on Appearance → Widgets.
  2. Choose the location where you’d like to place the widget on your site. Standard options include the Footer and Sidebar, but this may differ depending on your theme.
  3. Click either of the + block inserter buttons (see right) to see a list of all the available blocks and widgets.
  4. Scroll down to the Widgets section and click on the widget once to add it to your site.

For more general information, see this guide on working with widgets.

The Widgets Editor with highlights on the + Block Inserter at the top of the page and in a widget area.
Block inserter buttons

Using the Google Translate Widget

Viewers can click on the Select Language dropdown menu to view a list of languages available for translation. Clicking on a language in the list will translate the site’s content into that language.

The Google Translate widget shows a dropdown menu on the site with the text "Select Language" and a down arrow.
Once the dropdown menu is clicked, it displays a list of languages available.

Once a site is translated, a Google Translate bar will appear at the top of the site to confirm the current language. Here, you can click the arrow next to the language to display the full list of languages to translate the site into a different one, or click on “Show Original” to return to the site’s original language. You can also switch languages right from the widget, too.

Once a site is translated with the widget, it displays a bar at the top to switch languages.

Send Your Visitors to a Specific Language Version

An alternative to the widget is using an automatic translation link to send visitors to a version of your site in a specific language.

Once the Google Translate Widget is enabled on your site, you can append a language code to your site URL to automatically translate the site to that specific language. For example:

For most languages, two-letter lowercase abbreviations of languages will work. To find the language code of your choice, use this list of ISO 639-1 codes. Please note, however, that some languages need locales appended to the abbreviation, such as ?lang=zh-TW for Chinese Taiwanese.

Sites Without Access to Widgets

This section of the guide applies to sites with the WordPress.com Business or Commerce plan. If your site has one of our legacy plans, this feature is available on the Pro plan.

Themes that support the Site Editor do not use widgets, so you won’t see Appearance → Widgets in your dashboard. Instead, you can install a plugin to add Google Translate to your site. There is no official Google Translate plugin, but there are several popular unofficial plugins that can add Google Translate language switching to your site.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!