How Do I Add Polylang to WordPress?

Adding Polylang to WordPress is as simple as downloading and installing the plugin. Once installed, Polylang will automatically detect your WordPress installation and add the necessary hooks to enable translation of your posts and pages.

To get started, first make sure you have the Polylang plugin installed and activated. Then, go to the WordPress admin area and select Settings > Polylang.

Here, you will need to provide a couple of information to enable translation of your posts and pages.

First, you will need to provide a Polylang configuration file. This file will contain all of the information needed to enable translation of your posts and pages.

To create the file, click on the “New Configuration File” button and enter the filename into the “File Name” field.

Next, you will need to provide a list of languages that you want to include in your Polylang installation. To do this, click on the “Add a Language” button and select the language from the list.

Once you have added a language, click on the “OK” button to save the configuration file.

Now, you will need to add a translate block to your posts and pages. To do this, open the post or page that you want to translate, and click on the “Translate” button located near the top of the editor.

This will open the Polylang translator panel.

In the translator panel, you will need to add a translate block for each language that you have added to your Polylang configuration file. To add a translate block, click on the “Add a Translation” button and enter the text that you want to translate into the “Text” field.

Then, select the language from the list that you want to use for the translation.

Finally, click on the “OK” button to save the translation block. Now, all of the posts and pages that you have added a translation block to will be translated into the selected language.

Conclusion

Adding Polylang to WordPress is a simple process that will allow you to translate your posts and pages into different languages.