Translating Categories, Tags, and Astra Strings with Polylang

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

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

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

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

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

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

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

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


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨詢:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
? Reprint statement
This article was written by: thieves will be rats and mice courage
THE END
If you like it, support it.
kudos1106 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments