Configuring the Polylang Plugin

What is Polylang?

Polylang allows you to create bilingual or multilingual WordPress sites. You create posts and pages as usual, set up categories and post tags, and define a language for each. Translating posts is optional, regardless of whether they are in the default language. — Polylang — WordPress plugin | WordPress.org

A. Installation and Setup

  1. Launch WordPress and log in to the WordPress dashboard.
  2. Launch WordPress from the Shifter dashboard.
  3. Click the [Dashboard] button to log in to the WordPress dashboard.
  4. Go to the Plugins menu and click [Add New].
  5. Search for “Polylang” and click the [Install Now] button.
  6. Activate it.

B. Configuring the Polylang Plugin

  1. Click [Settings].
  2. Complete the initial setup.
  3. Install Japanese as a secondary language.
  4. Media
  5. In this example, we’ll set English as the primary language and Japanese as the secondary language.
  6. You’re almost ready.
  7. Scroll to the bottom of the page and click [Return to the Dashboard].
  8. Verify the installed languages.
  9. Verify the URL changes. Go to the [Settings] menu. Click [URL modifications] under [Settings]. URL Modifications: Leave all settings at their defaults.
  10. Set up the language switcher as a theme widget. Go to [Widgets] under [Appearance]. Verify that the language switcher has been added to your blog’s sidebar.

C. Create and Publish a Post

  1. Add a post in both languages.
  2. Stop WordPress, regenerate the artifacts, and verify that the “Language Switcher” is working.

That’s it.