I got a website where i want to switch language and it redirects to same page on that language.
We got it setup that each language got a channel:
So if I am on page: hostname/en/about-us i want to redirect to: hostname/sv/om-oss.
I have done this by using:
Though when a user is on a category or product page the SystemId above will not point to that “Page”.
I’m thinking i need to get the Category and BaseProduct Ids somehow and use respective service to then use with UrlService? How would i go for that the best way, or is there another service where i can transform from currentUrl => “page”.
Thanks in advance.
Litium version: 7.2.3