Copied to clipboard

Flag this post as spam?

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


  • Mahmood 28 posts 48 karma points
    Jun 30, 2011 @ 12:19
    Mahmood
    0

    Multilingual form redirection in umbraco

     

     

     

     

    Hi all,I have following structre for multilingual functionality. I have different content pages for english and arabic version, is there any way to redirect the english page to arabic on button click, as the file names are different so m not sure i can do it. can anyone suggest.        

     Content 

    |-- Site   
        |-- en (english)   
        |   |-- Pages...   
        |-- ar (arabic)   
        |   |-- Pages...   

     

     

     

     

     

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 30, 2011 @ 12:26
    Dirk De Grave
    0

    Mahmood,

    Do you want to be able to link from English to Arabic site? Is it that what you mean with "redirecting"? Are the sites "structural identical" (ie for each en page there's a arabic page and vice versa and both sites have the same "folder" structure)?

     

    Looking forward to your info.

    Cheers,

    /Dirk

  • Mahmood 28 posts 48 karma points
    Jun 30, 2011 @ 13:30
    Mahmood
    0

    hi Dirk,

    yes both site have same structure but some contents file names are not same.ie for each en page there is seprate page for arabic but the name of page may differ

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 30, 2011 @ 13:39
    Dirk De Grave
    0

    If you want to link to the other language's page from any page, you'd pretty much to have a relation between each of the pages that are related. It can be done if you've copied the site and have checked the 'Relate copied items to original' checkbox. Doing so creates a relation between the "master" (en) and "slave" page (arabic). Find out more about how to build your links once you've set up the relations on Hendy's blog.

     

    Cheers,

    /Dirk 

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Jun 30, 2011 @ 13:39
    Michael Latouche
    0

    Hi Mahmood,

    In that cas I think the best is to use the relationship API. You can find more information and links at this post: http://our.umbraco.org/forum/developers/api-questions/10603-How-to-relate-pages-in-a-multi-language-site

    Hope this helps.

    Cheers!

    Michael.

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Jun 30, 2011 @ 13:41
    Michael Latouche
    0

    Looks like Dirk typed faster than me :-)

Please Sign in or register to post replies

Write your reply to:

Draft