Culture Language Switch from the Live URL

Amy Patterson asked on April 11, 2022 06:21

We are on version 12/Portal

I have been trying to create a button to allow our live URL viewers who are not logged in to switch between languages, but it is not always consistent when clicked on.

When the hyperlink language switch is set in a transformation and I view the live URL, I can switch to Spanish, but when I click the link to switch to English I am redirected to the home page.

I am looking for a macro that will allow a read only viewer to switch between English and Spanish on the page they are on.

What is the best way to toggle 2 links, what we want to do is when they are viewing an English version of the page I want the language switch to contain a macro that will change the page to Spanish if they click on it, and If they are viewing a Spanish Version of the Page and want to Switch back to English, the link should refresh the page back to English.

Recent Answers


Dmitry Bastron answered on April 11, 2022 07:22

Hi Amy,

In Portal Engine there is an out-of-the-box Language data source control which should cover the desired functionality. Have you tried this?

0 votesVote for this answer Mark as a Correct answer

Amy Patterson answered on May 19, 2022 14:54

Now that is awesome, we will try that and update you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.