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
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!
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
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.
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
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.
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!
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.
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.
@Mike nice one, that was the link I was thinking of!
:)
is working on a reply...