Translating Astra Site Builder Layouts with Polylang

Astra Pro The Site Builder functionality in the plugin supports building flexible page structures, while the Site Builder functionality with the Polylang After the plugin, corresponding layouts can be created for different languages, allowing the structure of the site to be consistent in a multilingual environment.

This article describes the complete process of adding a language version to a Site Builder layout.

Image [1] - Managing Astra Site Builder Multilingual Layout with Polylang

Enable language support

By default, thePolylang not recognized Site Builder's layout content. To work around this limitation, language support can be turned on in the backend settings:

go into WordPress Dashboard, clickmultilingualism > set up
In the "Customize article types and taxonomies" area, check the box Site Builder(astra-advanced-hook)
Click Save

Image [2] - Managing Astra Site Builder Multilingual Layout with Polylang

When enabled, Site Builder layouts will be available in the Polylang Set the language in the

Switching Table Views

show (a ticket) Astra > Site Builder and switch to the table view to get a clear view of the current language status of each layout and to easily identify which languages have not yet created content.

Image [3] - Managing Astra Site Builder Multilingual Layout with Polylang

Add layouts for each language

Polylang does not automatically generate translations, you need to manually create a new layout for each language:

  • Select the target language in the list
  • Click "Add New Layout", to enter the editing interface
  • Mark the language of the layout in the language options on the right hand side
  • Return to list after saving
Image [4] - Managing Astra Site Builder Multilingual Layout with Polylang

This operation needs to be repeated once for each language to ensure that each version has its own layout content.

Establishing inter-language linkages

In order for layouts in different languages to recognize each other, they also need to be correlated in the editor:

Open any layout
In the language settings on the right side of the editor, select the layout corresponding to the other language version

Image [5] - Managing Astra Site Builder Multilingual Layout with Polylang


After saving, Polylang will automatically recognize these layouts as belonging to different language versions of the same structure

Translated presentation

After completing the language association, visitors will see the content of the layout in the matching language when switching languages. Each language version of the layout can have separate text, but the overall structure remains consistent. Content changes do not affect other language versions, allowing flexibility in managing each area.

Image [6] - Managing Astra Site Builder Multilingual Layout with Polylang

summarize

Polylang supports manual creation and management of Astra Site BuilderpolyglotLayout. Each language version needs to be added independently and associated with a language in the editor. In this way, it is ensured that the site displays a clear and unified structure in different language environments. If you encounter problems, you can contact the support team for assistance.

Related articles


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.
kudos115 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments