I'm working with the MSM to define a site like this example:
When a user visit the page /es/es/buy, I would like to retrieve the path of the language copy (/es/en/buy/) for implement a custom language navigation and use it in the "alternate" meta for purposes of SEO.
Does it possible with the API Java? I've used the next apis and I did't find the way:
Also, I've detected If I change the name of a language copy, the reference in thetouch-enabled UI is lost. The page doesn't appear like languague copy. So, what happen If I want a language copy with different name? How can I define a language copy with different name without lost the reference? I would like a site like the next: