Programmatically retrieve url in other language
Hi,
I've the following blogpost url for a dutch blogpost:
localhost:60876/.../maak-van-je-sollicitatiegesprek-een-aangenaam-gesprek
This blogpost also exists in French with this url:
localhost:60876/.../faites-de-votre-entretien-d-embauche-un-agréable-entretien
When I'm in the dutch version of the website, how can I programmatically get the french url of this blogpost? With everything I've tried I only get the first part of the blogpost: localhost:60876/.../
There also is a language selector on the page. I can see that the language selector holds the correct French url. So it must be possible to do, but I can't find it anywhere.
Can someone tell me how to get from one language to another language for a certain url?
thx
Wim