How to Easily Create a Multilingual WordPress Site

Do you want to translate your WordPress site into multiple languages?

WordPress powers more than 43% of all websites on the internet. Many of them serve non-English or multilingual audiences.

In this article, we will show you how to easily create a multilingual WordPress site. We will cover three different solutions, so you can choose the one that works best for you.

With each solution, you’ll be able to easily translate your WordPress posts, pages, tags, categories, and themes into as many languages as you like.

Create multilingual WordPress site

What is a Multilingual WordPress Website?

A multilingual WordPress website serves the same content in multiple languages. It can automatically redirect users to a language based on their region, or users can select their preferred language using a dropdown link.

There are a few different approaches used to create a multilingual website.

The first approach allows you to manually translate all the content into languages of your choice with the help of human translators.

The second method does not actually create a multilingual site but uses machine translations of your existing content by using auto-translate services.

However, Google Translate has stopped supporting new accounts for website translation. The other options are either not free or not very good in quality.

It goes without saying that manually translating your content is a much better approach. This allows you to maintain quality throughout your website. You can translate the content yourself or hire professionals to do that.

Getting Started with Your Multilingual WordPress Site

To create a multilingual WordPress website, you need the following items:

  • A domain name (This is your website address that users will type into the search bar to visit your site, like wpbeginner.com, for example)
  • WordPress hosting (This is where your website’s files are stored)
  • A multilingual WordPress plugin

If you don’t have hosting or a domain name yet, we recommend using Bluehost. It’s one of the largest hosting companies in the world, and it’s officially recommended by WordPress.org.

Plus, Bluehost is offering WPBeginner users a free domain name, free SSL certificate, and 60% discount on hosting. Basically, you can get started for as low as $2.75 per month.

→ Click Here to Claim This Exclusive Bluehost Offer ←

If you are looking for an alternative hosting solution, then we also recommend Hostinger. It also offers a free domain name, SSL certificate, and a generous discount on hosting.

After signing up for hosting, you can follow this tutorial on how to make a WordPress site for step-by-step instructions.

Choosing a WordPress Multilingual Plugin

There are several WordPress plugins that you can use to translate your website into multiple languages. You need to choose a plugin that helps you easily manage translations without making things unnecessarily difficult for your users.

In this guide, we will show you three of the top WordPress multilingual plugins with step-by-step instructions on how to set them up.

If you know which plugin you are going with, then you can directly jump to the instructions.

  1. Create Multilingual WordPress Website Using TranslatePress
  2. Create Multilingual WordPress Website Using WPML
  3. Translating Themes, Plugins, & Other Text with WPML
  4. Create Multilingual WordPress Website Using Polylang

All three of them come with the necessary features you’ll need to make a robust multilingual website.

  • They allow you to translate posts, pages, products, and other post types
  • You can easily translate your categories, tags, plugins, and themes
  • They allow you to set up SEO friendly URLs for each language

With that said, let’s get started.

1. Create a Multilingual WordPress Website Using TranslatePress

TranslatePress is one of the best WordPress translation plugins on the market. It is a bit different than other solutions mentioned in this guide.

Normally, multilingual plugins ask you to create multiple versions of the same article in order to translate it. TranslatePress allows you to create translations at the same time.

It also allows you to use a live editor to translate all the visual aspects of your website.

Most importantly, you can combine machine and human translations. This means you can use Google Translate or similar AI-powered tools to generate machine translations and only improve the parts that artificial intelligence missed.

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 the ‘Extra Languages’ add-on. You can do this from the download addons button under your account on the TranslatePress website.

Download extra languages addon

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

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

Add your license key

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 set up other settings.

General settings in TranslationPress

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.

After that, you need 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 the URL as a subdirectory. We recommend leaving this setting as-is for WordPress SEO.

More TranslationPress general 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 a 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 the plugin’s settings page or the button in your WordPress admin bar.

Click the 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.

Translate your site

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

After entering the translation, click 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.

Translation strings

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 translate 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.

Translate page button

Once you have translated a string, the plugin will automatically translate it for you in 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 a 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 a language switcher to your WordPress navigation menu

Simply go to the 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.

Language switcher in 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 navigational menu

Adding a floating language switcher

Go to the Settings » TranslationPress page and head over to the General settings tab. After that, scroll down to the language switcher section.

From here make sure the box next to the ‘Floating language selection’ option is checked.

Floating language selection

Don’t forget to save your changes.

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

Floating language selection preview

2. Create a Multilingual WordPress Website Using WPML

WPML (short for WordPress Multi-lingual) is one of the oldest and most popular WordPress multilingual plugins.

First, you need to do is install and activate the WPML (WordPress Multi-language) plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, the plugin will add a new menu item labeled ‘WPML’ in your WordPress menu. Clicking on it for the first time will take you to the plugin’s settings wizard.

WPML content language

WPML will automatically detect your WordPress site’s language. You can change it here now if you want.

After that, click on the ‘Next’ button to continue.

On the next screen, you will be asked to select the languages you want to enable on your site. Simply select the languages from the list that you want to add to your site.

Select translation language

You can always add or remove languages later if you need them. Once you have selected the languages, click on the ‘Next’ button.

Now, you will be asked to add a language switcher to your site. This language switcher will allow your users to choose a language to view content in their preferred language.

Language switcher WPML

WPML allows you to automatically add a content switcher as a sidebar widget, in your navigation menu, a plain list, or in the footer area.

Next, you will be asked if you like to send a compatibility report to WPML regarding the plugin and themes you are using.

Disable compatibility alerts

It is up to you to decide whether or not you want to send this data to WPML.

As the final step, you will be asked to enter your site key. If you have not generated one yet, then you can click on the ‘Generate a key for this site’ button.

Enter site key

This will take you to the WPML website, where you will be asked to add the site you are coming from to your WPML account.

Once your site is added, you can click on it to get to your site key. Copy and paste this key into your WordPress site.

That’s all you have successfully finished the WPML setup wizard. You can now click on the Finish button to exit the setup.

Adding Multilingual Content into WordPress with WPML

WPML makes it really easy to translate every area of your WordPress site into multiple languages.

You will be able to easily translate your WordPress posts, pages, tags, categories, and themes into as many languages as you like.

Adding Multilingual Posts and Pages

Simply click on the posts menu to view your existing posts. You will notice the language column next to your post titles.

Translate post and pages

WPML assumes that your existing content is in your site’s primary language. It will show Add buttons for each language next to your posts. Click on the add button (+) under a language to translate a post.

You can also manage translations by editing a post.

On the post edit screen, you will notice the new ‘Language’ meta box to manage translations.

Manage editing while editing posts

WPML also offers a better way to manage users who work as translators on your website. If you purchase their Multilingual CMS Plan, then you can use their translation management module.

The translation management module allows you to add users as translators regardless of what role they have on your WordPress site. You can even add subscribers as translators. Instead of editing posts, these translators will be able to add translations directly in WPML.

Adding Translations for Categories and Tags

WPML allows you to easily translate categories and tags, or any other custom taxonomies that you may be using.

Visit WPML » Taxonomy Translation and load the custom taxonomies you want to translate.

For example, in this screenshot, we selected categories, and it displayed all categories from our example site.

WPML categories

Click on the add (+) button next to the taxonomy term to add the translation.

Translating Navigation Menus

WordPress comes with a robust navigation menu system. WPML allows you to translate it just like you would translate posts or taxonomies.

Visit the Appearance » Menus page on your site. If you have more than one menu, then select the menu you want to translate.

In the right-hand column, you will see your menu with links to translate into other languages enabled on your site.

Translate navigational menu

Clicking on a language will create a new menu for that language. You will need to add the same menu items as in your primary language menu.

If you have your pages and posts in navigation menus, then you will first need to translate them. After that, you can add them from the tabs on the left in the edit menu screens.

Don’t forget to click on the ‘Save’ button to save your menu.

Note: If you are using a WordPress theme that uses the full site editor, then you can edit your navigation menus under WPML » Translation Management.

Translate menus in site editor

Translating Themes, Plugins, & Other Text with WPML

WPML multilingual CMS allows you to choose between official translations of themes and plugins or use its own string translator.

Go to WPML » Themes and plugins localization page.

Theme and plugin localization

By default, WPML will look for your plugin’s translation files if they are available, and use them.

However, if your WordPress theme or WordPress plugins are not translated into the languages you are using, then you can translate them using the WPML string translation feature.

WPML string translation

Simply scan your theme or plugin to load the strings and then start translating those strings.

This module will also allow you to translate custom fields, widgets, and other translatable strings generated by WordPress.

3. Create Multilingual WordPress Website Using Polylang

Polylang is a free WordPress multilingual plugin with more than 700,000 active installs. It allows you to easily create a multilingual website without purchasing the premium version.

Note: If you are running WooCommerce or need support, then you may want to upgrade to the Polylang Pro or purchase their WooCommerce addon.

For this tutorial, we’ll be using the free version of the plugin.

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

Upon activation, you need to visit the Languages » Languages page to configure the plugin.

Polylang settings

The language settings page is divided into three tabs. The first tab is labeled ‘Languages’. This is where you add the languages you want to use on your site.

You will need to add the default language, as well as select all other languages that users can choose on your site.

After adding the languages, switch to the ‘Strings Translations’ tab. Here you need to translate the site title, description, and then choose the date and time format.

String translations

Next, you need to visit the Languages » Settings page. From here you can set the URL settings for languages and set up SEO-friendly URLs.

Set URL translations

To change the URL settings, simply click the ‘Settings’ option under URL modifications. After that, you can configure your URLs and choose whether you’d like to show the language in your links.

For example, you can show URLs such as https://example.com/en/my-post/ on your website.

Set URL translations

Once you are done, click on the save changes button to store your settings.

Translating Content in WordPress with Polylang

Polylang makes it super easy to add content in different languages. Simply create a new post/page or edit an existing one. On the post edit screen, you will notice the language meta box.

Language metabox Polylang

Your default language will automatically be selected, so you can first add content in your default language, and then translate it into others.

To translate, you need to click on the + button next to a language under ‘Translations’ and then add content for that language.

Repeat the process for all languages. Once you are done, you can publish your posts and pages.

Translating Categories, Tags, and Custom Taxonomies

You can also translate categories and tags, or any custom taxonomies you may be using.

If you want to translate categories, then go to Posts » Categories.

Translate categories

Add a category in your default language and then click on the plus icon for each language to start adding translations.

Displaying Language Switcher on Your WordPress Site

Adding a language switcher allows users to select a language when viewing your site. Polylang makes it super simple.

Just go to Appearance » Widgets and then click the ‘+’ button at the top to add the ‘Language Switcher’ widget block to your sidebar or another widget-ready area.

Add language switcher widget

You can now enter a title for your widget, enable options for showing a dropdown, displaying language names, hiding current languages, and more.

Change language switcher widget settings

Once you are done, click the ‘Update’ button to store your widget settings.

You can now preview your site to see the language switcher in action.

Language switcher preview

FAQs About Creating a Multilingual WordPress Site

Having helped thousands of beginners start their websites, we know a thing or two about making a multilingual website. Following are some of the top questions we have been asked about multilingual WordPress websites.

1. Which WordPress multilingual plugin is the best?

All three plugins mentioned in this guide are the best. However, they are slightly different in some aspects.

If you are a beginner looking for an easier solution then we recommend using TranslatePress. Its live editor makes translations easier.

Advanced users and eCommerce websites may find WPML more comprehensive for their needs. Lastly, if you are looking for a free solution, then Polylang is the best option for you.

2. How to translate my WordPress admin area for users?

WordPress allows each user on your website to select the admin interface language. They simply need to edit their user profile and there they will find the option to select language.

User language

3. How do I translate my WordPress theme?

All three plugins will allow you to automatically fetch theme translations. You can also find and translate a WordPress theme by yourself and then upload translation files to your website.

4. How do I translate a WordPress plugin?

Many of the top WordPress plugins are translation-ready. However, they may not be translated into all languages. TranslatePress and WPML allow you to easily translate strings within the plugin interface.

You can also translate WordPress plugins on your own and upload the translations to your website manually.

We hope this article helped you learn how to make a multilingual WordPress site like a pro. You may also want to see our guide on how to easily get more traffic to your website and the best live chat software for small businesses.

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.

Lượt xem: 16

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *