Widgets & Sidebars

Google Translate Widget

The Google Translate Widget is no longer supported and cannot be added to new sites. If you have already added the widget to your site, it will continue to work. See the steps below for widget usage.

Using the Google Translate Widget

If you have previously enabled the Google Translate Widget on your site, viewers can click on the arrow in the “Select Language” 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.

Clicking the dropdown menu displays a pop-up list of languages.
Clicking the dropdown menu displays a pop-up list of languages.

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.

A blog post in its original English version.
A blog post in its original English version.
The same blog post, translated into French with the Google Translate Widget.
The same blog post, translated into French with the Google Translate Widget.

↑ Table of Contents ↑

Sending your visitors to a specific language version

Recommended for advanced users, an alternative to the widget is using an automatic translation link to send visitors to a version of your site in a specific language. If you append a language code to a url, your content will be automatically translated to specific language. For example:

  • ?lang=id translates the page into Indonesian
  • ?lang=de translates the page into German
  • ?lang=es translates the page into Spanish
  • ?lang=fr translates the page into French
  • ?lang=zh-TW translates the page into Chinese Taiwanese

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.

Remember that the Google Translate Widget must be enabled on your site for the translation URL to work.

Read more on using widgets on WordPress.com.

Not quite what you're looking for?

Get Help