More in this section
Forums / Developing with Sitefinity / Programmatically retrieve url in other language

Programmatically retrieve url in other language

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Wim
    Wim avatar
    0 posts
    Registered:
    03 Mar 2016
    22 Aug 2017
    Link to this post

    Hi,

    I've the following blogpost url for a dutch blogpost:

    http://localhost:60876/blogs/charlotte/2017/08/17/maak-van-je-sollicitatiegesprek-een-aangenaam-gesprek

    This blogpost also exists in French with this url:

    http://localhost:60876/fr/blogs/charlotte/2017/08/17/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: http://localhost:60876/fr/blogs/charlotte/

    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

1 posts, 0 answered