GICT knowledge base
How to Add Google Translate to Your WordPress Blog
Published
Although machine translators still leave a lot to be desired when it comes to reliability and accuracy, adding one to your blog does present the opportunity of being able to render your content in a great number of different languages. Particularly if you use your WordPress site as an online store selling products or services to a global market, being able to quickly and easily translate your most important content can help you to expand your reach. Currently supporting eighty languages from around the world, Google Translate is currently one of the world’s most popular online machine translation services. You can add Google Translate to any self-hosted WordPress blog by way of a plugin, the most popular being the free Google Language Translator which we will be using for the purpose of this tutorial.
- Log in to your administrator control panel and navigate to Plugins > Add New. Search for Google Language Translator and download and install the plugin. Activate it once it has been installed.
- Open the Settings page by clicking on “Settings” in the sidebar to the left. A new submenu will now be available entitled “Google Language Translator”. Click on it to configure the plugin.
- Ensure that the correct original language of your website is selected, otherwise the plugin will not function correctly. Customize any other settings as required, and then click “Save Changes”.
- To permanently add Google Translate to your blog, navigate to Appearance > Widgets and drag the new Google Language Translator widget into the widget area of your choice in the right-side column. In addition to the sidebar widget area, your currently active theme may provide several more widget areas elsewhere on the page. Change the widget title if you wish, and click “Save”. Visitors to your website will now be able to translate any page they are viewing by choosing a target language from the dropdown box in the sidebar.
Ggle Trnslte Widget - To add Google Translate to a page or post, paste the following shortcode into the editor: [google-translator]
- To add Google Translate to the footer or header of your website, add the following line of code to the footer.php or header.php file for your currently activated WordPress theme:
<?php echo do_shortcode(‘[google-translator]’); ?>
You can find edit these files from within WordPress by navigating to Appearance > Editor and opening the files from the list in the right-side column.
Ggle Lang Trnslt
Related guides
7 Common Hosting Mistakes Beginners Make (And How to Avoid Them)
7 common hosting mistakes beginners make in 2026: no backups, ignored updates, bad host choice, weak passwords, single point of failure, no staging. With fixes for each.
WordPressWebsite Migration Backup Checklist: What to Save and How to Test
Prepare a website migration backup: inventory files, databases, email and DNS, check archive integrity, test recovery and plan a safe final synchronization.
WordPressCore Web Vitals in 2026: A Practical Fix Guide for Site Owners
Core Web Vitals 2026: practical fixes for LCP, INP, and CLS. Real root causes, what to measure, common misconceptions, and a priority order of fixes for site owners.
WordPressFixing the WordPress “Death Loop”: When Missing Files slow down your site
You’ve just launched your new WordPress site or pushed a big update. In your staging environment, everything ran perfectly.
