I have a route of a page, and I want get the link for it on every language of my site.
On my site the contact page is: en/contact for English, and es/contactenos for Spanish.
I am trying using the following code, but I am getting just the URL for the current language set for the site.
$route = 'contact.site_page'; $url = new Url($route); $uri = $url->toString();
How do I get it for every language available for the site?