In this world people speak many languages, people of different areas have their different mother tongue. Every country has its own national language. English is a global language but people from different areas prefer different languages. So if your website is restricted to only one language you can miss the chance to link with the large audience.
Generally, for any language translation, we simply use Google Translate to translate the site over to our desired language. In this article, we will show you how to add language translate to WordPress.
How to Add Language Translator to WordPress
- Download and activate the Google Language Translator plugin from WordPress repository.
- After activating the plugin go to Settings » Google Language Translator to configure the plugin.
Make sure that the checkbox next to plugin status is checked, this is responsible for plugin activation. After that, you have selected the default language of your website and the languages in which you want to translate your site.
Here you can also choose to show country flag images, show translate box, layout option and many other options.
This plugin provides a shortcode [google-translator]
which you can use in your post/page or sidebar. To display the language translate in your header/footer or page template you can use the following code
<?php echo do_shortcode('[google-translator]'); ?>
You can also use google translate widget directly in your sidebar.
ya i was looking for this to add on my website. Thanks a lot for this post.
I’m looking for a translation box like the google translation page have you seen a plugin that does that?? thank you.
Hello OliverosM
Please tell me if I did not get your point, do you want that editor like functionality where you type in your language and it is translated another side?
This plugin might help you. Loco Translate https://wordpress.org/plugins/loco-translate/
it not working, wordpress not allows javascript code in the text.
Please tell me how to do the following what you said;’
This plugin provides a shortcode [google-translator] which you can use in your post/page or sidebar. To display the language translate in your header/footer or page template you can use the following code
You can also use google translate widget directly in your sidebar.
Thanks a lot,
Although we love our WordPress in English, you can still have your website translated completely in a language you are comfortable with. It might not be easy to translate everything into your own language, but at least you will reach users who don’t speak English at all. I believe that the WP Google translate review was helpful to you.