Steps to reproduce the issue:
1. Add a page and localize the title and the friendly url.
English -> Title: Layout1 FriendlyURL: /layout1
Spanish -> Title: Pagina1 FriendlyURL: /pagina1
2. Access with a Spanish user to /pagina1
Check the HTML source code to see that the canonical URL and the alternate urls are not properly generated (the url is not valid because it's missing the friendlyURL part)
However, if you access to the url /layou1 with an English users the canonical/alternate urls are properly generated