Tag Archives: google translate

How To Add The Language Translator In WordPress?

Google’s Language Translator, now known as GTranslate is a widely used multilingual translation solution for websites that enables its users to use the language translation functionality. It is commonly used with WordPress as well as WooCommerce and it offers a user-friendly way to make websites accessible in multiple languages, catering to a global audience.

You can easily insert the GTranslate tool anywhere on WordPress via shortcode or PHP template. Simply navigate to your admin. area dashboard Plugins -> Add New page to find and install the Translate WordPress – Google Language Translator plugin to embed the translator using an inline or vertical layout to enable your users to easily translate any content right on your website.

Once you activate the plugin visit the translator’s page on ‘Settings’ present on your admin area dashboard and select your configuration options.

Google Language Translator

The plugin works over a wide range of WordPress features such as posts, pages, widgets, categories, tags, as well as themes, and plugins. It also enables you to set the default language of your website. You can choose what language flags you want to display on your translator. This can be either done by displaying the translate box or setting the layout by enabling the translate toolbar that shows up on the top of your screen.

When you’re done with options, scroll down to either copy the PHP template and use it in your theme’s PHP files or use the shortcode for displaying the translator inside your posts, pages, post types, or widgets.

How To Enable Post Listening Feature In WordPress?

You can easily enable your website visitors to listen to any text present on your WordPress site. They can listen to your blog posts, pages, footer content, or any manually selected text on your website.

GSpeech is a WordPress plugin that uses Google to provide you the good-quality automatic text-to-speech service enabling your visitors to listen to any text on your website.

Main features of the plugin:

  • Allows you to listen to any text from the site!
  • Listen to the selected text. The speaker will appear when You select a part of the text!
  • Autoplay Feature. See Demo
  • Feature to set greeting audio for your users!
  • Feature to set different greetings for logged-in users.
  • Speaking menus. Users can listen to menus when they hover them!
  • Ability to set custom events.
  • More than 50 languages are supported by Google!
    • Unlimited text-to-speech!
  • Place the speaker wherever you want!
  • Ability to set the custom style and language for each TTS block!
  • 40 speaker types!
  • Customizable TTS block styles!
  • Customizable tooltip styles (12 beautiful styles)!
  • Live preview in the administration panel!

Install and activate the GSpeech plugin on your WordPress site. After activation visit your admin area Dashboard -> GSpeech admin page and select your language. You can choose a custom style and set other options from the same admin page. Now, click the ‘Save Options’ button and that’s all.

Now visit the front end of your website, select any text (which you want to listen to) and it pops up a Speaker Icon. Click that speaker icon and listen to the selected text.

For displaying the speaker after the text, use this basic format: {gspeech}Text to speech{/gspeech}

You can also specify custom styles and language for each text-to-speech block on your website: {gspeech style=2 language=en}Custom text to speech{/gspeech}

When using all parameters with GSpeech, the structure will be: {gspeech style=2 language=en autoplay=1 speechtimeout=0 registered=0 selector=anyselector event=anyevent hidespeaker=1}welcome{/gspeech}

In order to use the plugin, you must have the PHP Curl library enabled on your web-hosting. If you are hosting your website at Sangkrit.net, simply contact the support to get help.