How to create a multilingual website
A Multilingual website is a website that provides content in more than one language. Lots of international company websites provide their content in different languages for their international audience. It is possible to set up a multilingual website with a simple free plugin called Polylang.
There are three main steps to set up a multilingual website. The first one is installing the Polylang plugin, second configuring the Polylang plugin and third is translating your current content into the target language.
Note: The Jupiter X theme is also compatible with WPML plugin. So you can use either WPML or Polylang to create multilingual website.
Installing the Polylang plugin is the same process as any 3rd-party plugin that is described in the article.
1. From the WordPress left menu, go to Languages.
2. Choose a language in the select dropdown list.
Note: Polylang will prefill all fields.
3. Click on the Add New Language button.
Note: You can redo the operation and add as many languages as you want.
Translating the Content
After creating a language, you will need to add the content in the target language. In other words, you’ll need to translate each of the pages and posts that you want to display in other languages.
To translate your pages and posts:
1. Edit the page or post.
2. From the Languages section, select your language.
3. Write your content in the target language.
4. Publish or update the page or post.
Note: You should also translate the theme to your other languages. You can find a guide for that in this article. Please note that .po/.mo files should be created manually for each language.
Polylang plugin allows you to translate user-defined strings such as the site title, tagline, or widget titles.
1. From the WordPress left menu, go to Languages > Strings translations.
2. Translate the source string from the input field in the Translations column.
3. Click on the Save Changes button.
Note: The Jupiter X theme is compatible with RTL sites. It has automatic RTL compiler so you can use Jupiter X easily with your RTL site.
Note: By default, Customizer settings are applied to all languages. If you want to change settings for some language, go to Appearance > Customize, select the language in the top panel and configure the options in Customizer for that language.
Tip: Use Growmatik to show different content to your visitors based on different locations.