How to translate page content using Page Builder (Website module)

how i can translate web page content from translation list at the desk while i am usin page builder not portal pages i tried {{ _(" text here ") }} but seemed not worked

1 Like

Here is the solution to this if anyone looking in the future.

for web pages you have to put text under {{ _(" text here ") }}

for example:

<div>
    <h1>{{ _("Welcome to Our Website") }}</h1>
</div>

publish it

Then use “Translation List”. enter language you want to translate.

in source enter
Welcome to Our Website

in translated enter:
Translated Welcome Text

now when you select the language you made the translation it will work.
(if language selection is broken put _lang=de at the end of the URL)

1 Like