Skip to main content

How to Easily Translate Your WordPress with TranslatePress

Did you know that you can install and use WordPress in multiple languages? Yes, you can even create a multilingual website with WordPress by translating your content into different languages. In this article, we will show you how to easily translate your WordPress with TranslatePress.

How to translate your WordPress site with TranslatePress

Why Use TranslatePress for Translating a WordPress Website

The best part about WordPress is that it can be used in any language. Most WordPress themes and plugins can also be used and translated into any language as well.

If your business website have a multilingual audience, then it can be very beneficial to translate your content.

You can use machine translations like Google Translate, but these translations are not good and sometimes can be quite misleading.

On the other hand, if you’re using a multilingual WordPress plugin, then you need to create multiple posts which requires switching back and forth between different languages.

TranslatePress is a WordPress translation plugin that helps you solve all these problems.

  • You can translate your website and content using a live editor with the actual preview of each page on your site
  • You can instantly switch languages from the live editor.
  • Translate your theme, content, and plugins easily using the same interface.
  • Use Google Translate for automatic translations and only edit the parts that don’t make sense.

Let’s take a look at how to easily translate your WordPress website with TranslatePress.

Translating WordPress with TranslatePress

The first thing you need to do is install and activate the TranslatePress plugin. For more details, see our step by step guide on how to install a WordPress plugin.

If you want to translate your website to more than one language, then you will also need to install ‘Extra Languages’ add-on. You can do this from the download addons button under your account on TranslatePress website.

Download addons

After downloading the add-on, you can install and activate it like any other WordPress plugin.

Upon activation, you need to visit Settings » TranslatePress page to configure plugin settings.

Add license

First, you need to switch to the license tab and enter your license key. You can find this information under your account on the TranslatePress website.

After that, you need to switch to the General settings tab to setup other settings.

TranslatePress settings

The first option on the page is to choose the default language of your website, and the languages you want to translate your website into.

Next, you need to choose whether you want to display language names in the native language. The default option is ‘No’ which means language names will be shown in the default language.

The next option is to choose whether you want to display the default language name in the URL as a subdirectory. For example, http://example.com/en/.

The default choice is no which means only the other languages will have the language name in URL as a subdirectory. We recommend leaving this setting as-is for best SEO.

TranslatePress settings

This brings you to the next setting, ‘Force language in custom links’. The default option is ‘Yes’, because that will change custom links for translated languages making the URLs more SEO friendly.

Next, you need to choose whether you want to use Google Translate for automatic translations. The default choice is ‘No’, but you can change that if you would like to use Google Translate.

You will need to provide a Google Translate API key in the next option. You will find a link under the option which will show you instructions on how to get one.

Finally, you will come to the options on how you want to display the language switcher on your website. TranslatePress provides you with three choices.

You can use a shortcode, add switcher to your navigation menu, or display a floating menu. We will show you how to add the language switcher to your website later in this article.

Go ahead and click on the ‘Save Changes’ button to store your settings.

Translating Your Website Content

To translate your website, you can simply click on the ‘Translate Site’ tab on plugin’s settings page or the button in your WordPress admin bar.

Translate site button

This will open the live translation editor in a new browser tab.

In this live editor, you can click on any text on your website in the right pane and TranslatePress will load it in the left column to translate.

Translating site in TranslatePress

Now click on the language you want to translate the string into and then provide your translation.

After entering the translation, click on the ‘Save Translation’ button on the top and then click on the next button. TranslatePress will automatically load the next string on the page for you to translate.

You can also just click on the drop-down menu below your default language, and it will show you the list of translatable text strings on the page. You can select a string and then provide its translation.

Select and translate strings on a page

You can translate all content on any page. This includes navigation menus, buttons, sidebar widgets, meta text, and more.

You can also visit any page by clicking on the links on the screen and start translating that page.

TranslatePress allows you to instantly start translating any page or post on your site when logged in. Simply click on the ‘Translate Page’ button on the top to enter the live editor.

Start translating any page

Once you have translated a string, the plugin will automatically translate it for you on other places. For example, if you translated a post title, then the post title in your sidebar widgets will be automatically translated.

Adding Language Switcher to Your Website

Language switcher allows your website visitors to select a language when they visit your website. It usually displays the flag of each country to indicate languages available on your site.

TranslatePress allows you to add language switcher by using a shortcode, as a navigation menu item, or as a floating banner. The language switcher can be displayed as flags, language names, or both.

Adding language switcher in WordPress using shortcode

You just need to add [language-switcher] shortcode to posts, pages, or a sidebar widget where you want to display the language switcher.

Shortcode switcher

Adding language switcher to your WordPress navigation menu

Simply go to Appearance » Menus page and click on the ‘Language Switcher’ tab in the left column. Now select the languages you want to display and then click on add to menu button.

Adding language switcher to WordPress navigation menus

You will now see languages added to your WordPress navigation menu. Don’t forget to click on the ‘Save Menu’ button to store your changes.

This is how it looked on our test site:

Language switcher in navigation menu

Adding a floating language switcher

Go to plugin’s settings page and scroll down to language switcher section. From here make sure the box next to the ‘Floating language selection’ option is checked.

Floating language switcher

Don’t forget to click on the save changes button to store your settings.

You can now visit your website to see the floating language switcher at the bottom of every page on your website.

Floating language switcher

We hope this article helped you learn how to translate your WordPress site with TranslatePress. You may also want to see our list of the best WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Easily Translate Your WordPress with TranslatePress appeared first on WPBeginner.

from: WPBeginner
via Editorial Staff

Source: How to Easily Translate Your WordPress with TranslatePress Via Business Advice.

Comments

Popular posts from this blog

7 Ways to Grow Your SaaS Startup Faster

Every startup looks for ways to catapult a business to success. Here are some tips for accelerating growth for SaaS (software as a service) companies. 1. Start charging early SaaS startups are often hesitant about charging customers. They think that their product is not yet ready, that it’s necessary to get traction and focus on expanding their customer base rather than on growing revenue. Deep inside, however, they often don’t just have enough faith in their product and are not sure if someone will buy it at all. They prefer keeping hundreds or thousands of free users to attempting to win a few serious customers. Big numbers are comforting but the product remains an unverified idea. Building a product should imply increasing revenue. So don’t hesitate too much—put it to the test by charging and see if it works in the real conditions. This is one way to minimize your risk too. Instead of waiting to launch until you’ve invested huge amounts of time and money, launch early. If...

How to Add Web Push Notification to Your WordPress Site

Do you want to add push notifications to your WordPress site? Push notifications allow you to send notifications to users even when they are not visiting your website. In this article, we will show you how to easily add web push notifications to your WordPress site. We will also talk about the best WordPress push notification plugins and how to send desktop & mobile push notifications from your WordPress site. What is Push Notification? Push notifications are clickable messages displayed on top of user’s desktop or notification area on their mobile device. They can be shown even when the user’s browser is not open. Aside from desktop, web push notifications also work on mobile devices. This allows you to reach your users across devices with latest updates and offers. Web push notifications have proven to be a very effective way to convert website visitors into customers and loyal followers. Why Add Web Push Notifications to Your WordPress Site? We have already discussed tha...

7 Best WordPress Job Board Plugins and Themes

Are you looking for the best WordPress job board plugin? There are several WordPress job board plugins that you can use to easily create a job board and charge other companies to post jobs. It is one of the ways to make money from your blog , and you can even use it to post your own job openings. In this article, we have picked the best WordPress job board plugins and themes that you can use. Building a Job Board Website with WordPress WordPress is currently one of the most popular website builders in the market, powering more than 30% of all websites on the internet. It can be used to build almost any kind of website including a job board website. There are two types of WordPress websites which often confuses new users. First, there is WordPress.com which is a hosted solution. Second, you have WordPress.org also called self-hosted WordPress. See our article on WordPress.com vs WordPress.org for a side-by-side comparison. We recommend using self-hosted WordPress.org because it g...