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...
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)?
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
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.
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...
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
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
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
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.
Looks like Dirk typed faster than me :-)
is working on a reply...