1. Home
  2. Knowledge Base
  3. Multilingual SEO with WPML & Rank Math SEO – Setup and Optimization

Multilingual SEO with WPML & Rank Math SEO – Setup and Optimization

There are almost 7,000 languages in the world and English is just one of them. So, depending on the purpose of your site and your target audience, only considering audiences that speak English could be an oversight

The potential target market is huge and with a multilingual website, you can make your website more accessible to other markets.

Fortunately, Rank Math SEO makes it very easy for you to optimize your content for your multilingual website. It does this by working in conjunction with WPML – a popular WordPress Multilingual Plugin.

Rank Math SEO and WPML work hand-in-hand to offer you customization, optimization, and translation of your content. With these two plugins, you will have fully translated and fully optimized content that will please your non-English and English speakers alike (or any language speaker for that matter).

Let’s see how you can use Rank Math SEO and WPML to translate and optimize your content.

1 What is WPML? An Introduction & Overview

By default, WordPress supports only one language at a time. But if you want to use multiple languages on a site to attract a huge set of audience then WPML is the right choice for you.

WPML(WordPress Multilingual Plugin) helps to make your website multilingual and you can create content in many different languages. The interface is extremely easy to use for managing the translations. Not only this but it also adds language switching options for your visitors. With WPML, search engines easily understand your site’s structure and drive the right traffic to the right languages.

Let us now look how you can create a multilingual WordPress website without any hassle.

2 Getting Started

First things first, make sure you have the latest version of Rank Math SEO as well as WPML installed on your WordPress Website.

You can install them both from WordPress Dashboard > Plugins > Add New.

First, search for the Rank Math plugin and install it:

Install Rank Math

Then, activate it from the same page.

After that, install the WPML plugin by going to WordPress Dashboard > Plugins > Add New

Point it to where you have downloaded your WMPL files and activate the plugin after it is done uploading.

Install WPML

Once you are done installing both plugins, it is time to do some translations.

Start by translating the meta titles, meta descriptions, on-page text, breadcrumbs, and other similar texts.

3 Translating the General SEO

Certain strings are added to your images and breadcrumbs automatically by Rank Math SEO. These strings are added in English by default but you can change them to any language easily.

Head over to WordPress Dashboard > WPML > String Translation

Choose admin_texts_rank-math-options-general from the dropdown.

General String Translation

Then, proceed to change the strings to any number of languages you like.

Take a note of the “Name” column. It gives you an idea of where the String is coming from.

For example, [rank-math-options-general]breadcrumbs_home_label string is the text for “Home” string in Breadcrumbs.

Breadcrumbs Translation

Likewise, all other strings adjacent to breadcrumbs column belong to the Breadcrumbs and you can change those as required.

4 Translating Titles & Meta Texts

Rank Math SEO offers you plenty of options to customize your title and descriptions. You can automate the title and meta description process with various variables we offer. You can use a combination of hard-coded texts along with variables to generate a unique meta title or description automatically for your posts, pages, products, or CPTs.

For such hard-coded texts, you can translate it into other languages using WPML and the process is very easy to follow.

Head over to WordPress Dashboard > WPML > String Translation

Then, choose admin_texts_rank-math-options-titles from the strings within domain dropdown.

Translate Title Strings

Once you identify the string you want to translate, click the “+” sign next to it. A new dialog box pops up and you can add your translation here.

Strings into another language

5 Translating On-Page Text

Let’s talk about translating the nitty gritty of your website – that is the post or page content itself.

It is extremely easy with Rank Math SEO + WMPL. You can open the settings for translating your post in a couple of ways

From your post listings page:

Translate Post Listings

Or, from the post’s sidebar:

Translate Post Content

A new page with a bunch of options will appear where you can translate your text either manually or via Machine translation.

Let’s talk about the manual translation first and then we will discuss Machine translation.

WPML gives you an option to translate your titles, your text, your image alt texts, or any textual content for that matter.

Translate Post Text Manually

Once done, hit the save button and, Voila!

Your page is now translated into a language of your choice and WPML creates a new page for that translation automatically.

6 Machine Translating Your Text

Manually translating your posts is not possible sometimes. Especially, if you are translating your content to more than one language.

WPML offers a neat option for automatically translating your content to any language with the help of Machine translation.

Follow the instructions we shared in Section 4 above right up till the point where you add the translations manually.

Instead of manually translating, we will be using the Machine Translation feature of WPML.

automattic-translation-wpml

When you are on the translations page, locate the “Translate automatically” button and press it.

You will a checkbox of options you can choose from. Review the options and choose the one that applies to you.

Click the “Translate” button and see the magic unfold 🙂

All your content is automatically translated with just a couple of clicks.

7 Creating Sitemaps for Other Languages

Rank Math automatically creates a sitemap of all your posts. And, your translated posts/pages are no different.

A link of each translated post/page is automatically added to your sitemap index available at domain.com/sitemap_index.xml

WPML adds hreflang to the translated pages so Google can figure out that a particular page is a translated version of another page on your website.

If you submitted the main sitemap index to Google or other search engines, you do not need to make any changes and the translated pages will be automatically picked by the search engines from your sitemap.

8 Localizing the Plugin Text

If you want to use the plugin in your local language, you only need to download the language from WordPress Dashboard > Updates.

Rank Math displays the translated version of posts and categories in the Sitemap. If you choose other language URL formats, WPML will take care of it by creating hreflang tags and the search engines know the default language of the page’s content and also the translation which is available in different languages.

9 Multilingual Websites and Duplicate Text

A translated piece of your original content is considered to be a unique piece of content by Google and other search engines. So, you do not need to worry about causing duplicate content issues when translating your website into multiple languages.

WPML adds a hreflang tag to your translated pages which make it easier for Google to understand and classify your translated content.

Rank Math SEO adds a proper canonical tag to each translated post/page to ensure Google and other search engines know where the original piece of content is located.

10 Conclusion

Rank Math and WPML make it extremely easy to create multi-language websites with ease. They do so without the hassle of manually dealing with various issues that are usually a part of creating multilingual websites.

This is yet another reason WordPress is the best content management system – it truly takes the hassle out of creating multilingual websites with the help of WPML to handle the translations and Rank Math SEO to handle the optimization/proper technical SEO for international websites so you can focus your business.

Was this article helpful?

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket