Polylang plugin is a powerful multilingual tool that helps to integrate the WordPress website into a multilingual platform. In this post, we'll cover how to use Polylang to translate article categories, tags, and Astra custom strings in the theme. With these steps, you can easily add multilingual support to your Astra website.
![Image [1] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103116894-image.png)
before the start
First, make sure you have installed and activated Polylang Plug-in. After the installation is complete, make basic language settings as needed, select the default language and add other languages.
Translate article categories and tags
The process of translating article categories and tags is similar to translating articles or pages. Below are the detailed steps for translating categories and tags:
Go to category page
exist WordPress Dashboard, click Articles > Categories, open the category management page.
![Image [2] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103150193-image.png)
Select the category to be translated
Find the category you need to translate in the category list. Next to each category is the Polylang The translated languages will be marked with a flag and the untranslated languages will have a "+" icon.
![Image [3] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103202827-image.png)
Click on the "+" icon to start translation
Click on the "+" icon to open the translation page for that category.
Entering Translated Text
On the translation page, find the name (of a thing) field, enter a new name for the category.
Create a new translation category
strike (on the keyboard) Add new categoryThis will create a new translated category linked to the original category. The original "+" icon will change to a pencil icon indicating that the category has been translated.
![Image [4] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103247324-image.png)
Duplicate operations for other languages
Repeat the above steps for each language to complete all translations.
With these steps, categories and labels can be translated into as many languages as needed.
Translating Strings in Astra Themes
Astra The theme provides a number of customizable strings using Polylang It is easy to translate these strings into different languages. We will show how to do this by translating a custom button text as an example.
![Image [5] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103305193-image.png)
Go to the String Translation page
exist WordPress In the dashboard, click Dashboard > Polylang > String Translation, go to the String Translation page.
![Image [6] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103312778-image.png)
Finding strings to translate
Find the string you want to translate in the string list. You can use the search box on the top right to quickly find the target string by typing in the relevant word (e.g. "register").
![Image [7] - Easily translate categories, tags and custom strings from Astra's website using the Polylang plugin](http://gqxi.cn/wp-content/uploads/2025/04/20250423103323409-image.png)
Entering Translated Text
Once you have found the target string, click on the translation field for the corresponding language and enter the desired translation.
Save Changes
After entering the translation, click Save Changes, save all changes.
summarize
With the Polylang plugin, it is easy to put the WordPress The site's article categorization, tagging and Astra The strings in the theme are translated into different languages. By following the steps above, you can lay the groundwork for your site's multilingual support. By doing this, your Astra site will be better able to adapt to the needs of users around the world and enhance your site's internationalization capabilities.
Recent Updates
Link to this article:http://gqxi.cn/en/51395The article is copyrighted and must be reproduced with attribution.
No comments