Installing WPAutoTranslate for MultilingualPress from scratch

This tutorial will show you how to have a WordPress site in multiple languages and ease translations with WordPress AutoTranslate.

Requirements

  • Hosting
  • WordPress
  • MultilingualPress (plugin)
  • WP AutoTranslate for MultilingualPress (plugin)
  • Microsoft Translate API Key

Installation

The first thing we will do is create our new WordPress, a normal one. We have already configured the database data previously. Your hosting may have the “one-click” installation option. You can use it!

When we enter our site, the first thing we will be asked for is the main language we are going to use. In this case our main language will be English.

We fill in the name of the site, the main administrator user, the password and the email account. Click on Install WordPress.

Configuration

Next, we have to activate the possibility of our site being a WordPress Multisite. We will enter our wp-config.php file (via FTP or whatever system we want) and add the following line.

define( 'WP_ALLOW_MULTISITE', true );

When we have updated the WordPress configuration file, we will enter WordPress and activate the WordPress MultiSite system.

We will access WordPress and there we will go to the Tools option in the menu and inside to Network Setup.

We will choose between sub-domains or folders, we will put the name we want to the network and the main mail.

Once created, it will give us instructions to add to our wp-config.php and to our .htaccess.

We add the information to wp-config.php

We add the information to the .htaccess

Once the files have been updated, we will return to the panel. Normally, you will be kicked out of the panel and asked to enter again with your username and password. Once we enter, we will already be in the installation of WordPress MultiSite, although only one site (the main one).

MultilingualPress

Before creating the new sites, we will install MultilingualPress, the plugin that allows you to attribute languages and relationships between the different sites. Once installed, we will activate it to make it functional.

Site creation

We will create the different sites. In this case we will create a site in English, Spanish, French and German (the video only shows the last one created).

WP AutoTranslate

Now that we have created all the sites, let’s install WordPress AutoTranslate for MultilingualPress. We will add the plugin at the network level and activate it.

We will now set up one of the translation providers. In this case we are going to use Microsoft (you will need to follow the steps to get the API data). Once we set up the Microsoft API, we will activate it as the main translation provider.

Translate content

Now that we have everything, let’s create a new category for our posts. We will create the category and enter it to select the languages we want to have translated into. We will be able to access some of them to verify that it has been translated correctly.

We can go to any of the 4 languages that we have created to make the translation, it does not have to be the main language of the installation. In this case our objective is to translate the Quixote from Spanish to other languages, so, we are going to use Spanish as the initial language.

Now that we have the category, let’s add the beginning of the first chapter as a Post. In the same way, we will translate it into the other languages.

End

And, that’s it! You have everything ready to set up your network of sites in various languages in an easy and simple way.