Google is one of the popular plugins used for language translation. It is used to add support for a WordPress website. support will be handy when you have users from varied regional base. In a previous , we have seen how to add multilingual support for a website by managing the content using language files. 

babel-tower  - babel tower - Creating Multilingual WordPress site using Google Language Translator

The Google Language Translator plugin will automatically change the website content based on the selected language. It doesn’t require any manual content-language mapping. It has a settings page various options to configure this plugin. By using these settings we can configure Google language selector plugin‘s controls, display and many other options for our WordPress website.

Download and Install Google Language Translator

Download Google Language Translator plugin zip file and extract it into the WordPress plugins root directory. We have already seen how to install a new WordPress plugin while creating Breadcrumb Navigation Menu plugin. After extracting the plugin files, it will be shown in the WordPress admin area in the list of the installed plugins.

installed-google-language-translator  - installed google language translator - Creating Multilingual WordPress site using Google Language Translator

Activate and Configure Google Language Translator Settings

After installing the Google Language Translator plugin, we can activate and configure more of its settings. Navigate using the WordPress admin menu Settings -> Google Language Translator to visit the settings page. It has many configuration settings like selecting default language, specifying multiple languages to be supported, enable/disable Google branding and more. More other configurations are shown below in the screenshot.

google-translator-plugin-translator-configuration  - google translator plugin translator configuration - Creating Multilingual WordPress site using Google Language Translator

Translator Control in WordPress Website

After activating this plugin Google Language Translator control will be displayed as a floating widget by default. We can configure the translator control location and the UI by using the settings. On clicking the translator control it will display the language option as chosen in the WordPress Admin. By selecting one of the languages, the website content will be translated based on the selected language. 

google-translator-control  - google translator control - Creating Multilingual WordPress site using Google Language Translator


This WordPress code tutorial was published on March , .

↑ Back to Top

Source link


Please enter your comment!
Please enter your name here