Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dominik 711 posts 733 karma points
    Jan 11, 2011 @ 09:21
    dominik
    0

    Multi Language - save current page

    Hello everybody.

    I am new to umbraco and found some helpful scripts about multilingual umbraco sites.

    Is it possible to link each content site direct to the page in another language?

     

    For example (english and german):

    The user is on:

    >> Home >> Products >> Test_en

    and selects german (via dropdown) the user should be redirected directly to:

    >> Home >> Produkte >> Test_de

     

    I know this feature is working on other CMS like Typo3. The sites are connected via an ID so the the name of the site (and the search friendly URL) can be changed without any effect on this feature.

    I dont want that every time a user selects another language he is redirected to the home site

    How can this be done in Umbraco

    Thanks

     

     

     

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Jan 11, 2011 @ 10:12
    Michael Latouche
    0

    Hi Dominik,

    Here is a link to another post about linking pages in a multi-lang site with relations etc.: http://our.umbraco.org/forum/developers/api-questions/10603-How-to-relate-pages-in-a-multi-language-site

    I think this will enable you to do what you need.

    Cheers,

    Michael.

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jan 11, 2011 @ 10:13
    Tim
    0

    You can do this by having identical page structures in the different sites, I have seen an example of this but I can't find the link any more. I think it was using the relationships feature of Umbraco. Hope that gets you on the right track, sorry I can't find the link!

  • dominik 711 posts 733 karma points
    Jan 11, 2011 @ 10:51
    dominik
    0

    Sorry but the identical page structure does not function if there should be any search optimization. because the url in german is another as it is in english for example.

    So in English: www.domain.com/products/flowers.aspx

    in German www.domain.de/produkte/blumen.aspx

     

    So i Think your method does not work any more.

     

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Jan 11, 2011 @ 11:16
    Michael Latouche
    0

    Hi Dominik,

    Did you look at the solution proposed by Daniel Bardi in the post I referenced? From the code he posted, I think the language selection gets to the url in the correct language.

    Cheers,

    Michael.

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jan 11, 2011 @ 11:27
    Tim
    0

    @Mike nice one, that was the link I was thinking of!

    :)

Please Sign in or register to post replies

Write your reply to:

Draft