Skip to main content

Can I add the _lang parameter in the preview function for secondary languages?

In the "Front-end preview path" field in the content structure editor, set the URL with the parameter /?_lang={$smarty.request._doc_lang}. When you call the preview URL from the secondary language editor page, the _lang parameter will be added automatically.

Setting​

In the "Front-end preview path" field of the content structure editor.

Image from Gyazo

Displaying URL​

Image from Gyazo


Support

If you have any other questions, please contact us or check out Our Slack Community.