No results found. Try again with different words?

Search must be at least 3 characters.

How to Translate Categories, Tags, and Astra Strings with Polylang

Sidebar Image

Did not find a solution? We are here to help you succeed.

With Polylang, you can manually translate post categories, tags, and strings added with Astra. This document will show you how to do this.

Before we start, you will need to install the Polylang plugin on your website and do the setup. If you need help turning your Astra website multilingual with Polylang, please check this article.

How To Translate Post Categories and Tags?

Similar to translating posts or pages, you can translate post categories and tags.

We will show you how to translate a category using Polylang as an example.

Please follow these steps:

Step 1 – Navigate to Dashboard > Posts > Categories;

Step 2 – In the category list, find the category you wish to translate. You will see Polylang translation options on the right side of each category. There will be columns for each available language translation. Flags mark the language of the original category (most often default language). Languages without translations are marked with the โ€œ+โ€ icon; 

Polylang Translation Options

Step 3 – Start translating the category by clicking on the โ€œ+โ€ icon for the desired language. This will open the category editor;

Step 4 – To translate the category, add your translation to the โ€œNameโ€ field;

Translating Categories and Tags with Polylang

Step 5 – Click on the โ€œAdd New Categoryโ€. This will create a new category linked as a translation to your original category. You will also notice that the โ€œ+โ€ icon changed to the โ€œpencilโ€ icon to mark the existing translation;

Translated Category

Step 6 – Repeat steps 3 to 5 for each of the available languages.

Similarly to these steps, you can also translate any other category and your tags.

How To Translate Astra Strings?

In this article, as an example, we will show you how to translate Astra Theme custom texts. You can follow a similar method for translating any other string in Astra.

We added a Button Header element to the Primary Header and added the label โ€œRegisterโ€. We will add a translation for this label using Polylang string translations.

Astra Header Button Translation

Please follow these steps:

Step 1 – From the WordPress dashboard, navigate to Dashboard > Polylang > Strings translation page;

String Translations

Step 2 – Browse the string list and find the string you wish to translate. You can also use the search bar on the top right side of the page. You can type in any term (e.g., โ€œastraโ€) to sort the list to related strings only;

Step 3 – We searched for the term โ€œregisterโ€ and found our button string. On the right side of that string line, you will see the Polylang translation fields for each available language;

Translating String with Polylang

Step 4 – To translate the string to any language, just click the appropriate translation field and add your translation.

Step 5 – Scroll down and click on the โ€œSave Changesโ€ button once youโ€™re done.

You can repeat this process for each string and language.

Now, that you know how to translate categories, tags, and strings with Polylang, you can make your Astra website entirely multilingual.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form