+Content ++HomeFR (hostname : "www.mysite.com/HomeFR" language:"French") +++Page1 +++Page2 ++HomeEN (hostname : "www.mysite.com/HomeEN" language:"English", copied from french ) +++Page1 +++Page2
My problem is that both the french and english Page1 and Page2 refer to the same "Link to document", which is "/Page1" (with "/" being "HomeFR").
In this condition, the original website (in french) still works as intended, but things like menu, etc... in the English site keep refering to the french pages.
If you copy a website the link to other nodes is also copied, but you'll need to update those manually. So if you have content picker which says Page1 it could point to Page1 of HomeFR or HomeEN. You don't know so it's best to select it again and point it to the correct node in the correct language. The Extended Content Picker also solves this problem.
what you said will help, because I also have the problem to which you described the solution, but I also found the solution of my core problem.
Apparently, sub-nodes need to be re-named as well, or they'll link to the same document. So, for my EN website, I renamed Page1 into Page1EN for instance.
That works, without any need to modify my menu's xslt, for instance.
Apparently, level 3 pages don't need to be renamed.
Can anyone tell me what make level 2 page different from level 3 that they need to have different names in different subsites? This is not clear to me yet.
Or perhaps you need set umbracoHideTopLevelNodeFromPath in the web.config to false. And as final option you could set useDomainPrefixes to true in umbracoSettings.config.
Could you show how the url's or level 2 look like and how the url's of level 3 look like? If you change the name of a level 2 node this name which is also part of the level 3 node will also change. That's why you don't need to do the same for level 3.
You are right, the url for level 3 pages change as well.
So, I was misleaded to believe only level 1 pages needed to have different names, and what corrected the problem was to also give level 2 page different names.
I have two questions :
1 - Can I use that as a general rule if I need to do a multilingual site again? 2 - What is the reason why level 2 pages are important name-wise? Intuitively, i would say only the root is important. Is it because I choose not to hide the top level node from path?
Basically the names of the EN and FR nodes are the same so the url's are also the same because you hide the toplevel domain. If you don't hide that they will get unique url's and you don't need to change the node names.
the way it works is clear to me now. I will keep the top level domain hidden, because it is convenient for most of my macros. But now, thanks to you I have a better understanding, and I may choose the other option for a future website, if it fits the needs.
Multilingual website, hostnames, and "Link to document"
Hello,
I have a Umbraco 4.7 website which was originally monolingual and I am now in the process of making it multilingual. I used this tutorial : http://webmove.be/home/blog/blog/2011/august/multilanguage-websites-with-umbraco-part2
The website's strucrure is as is :
+Content
++HomeFR (hostname : "www.mysite.com/HomeFR" language:"French")
+++Page1
+++Page2
++HomeEN (hostname : "www.mysite.com/HomeEN" language:"English", copied from french )
+++Page1
+++Page2
My problem is that both the french and english Page1 and Page2 refer to the same "Link to document", which is "/Page1" (with "/" being "HomeFR").
In this condition, the original website (in french) still works as intended, but things like menu, etc... in the English site keep refering to the french pages.
Did I do anything wrong?
If you copy a website the link to other nodes is also copied, but you'll need to update those manually. So if you have content picker which says Page1 it could point to Page1 of HomeFR or HomeEN. You don't know so it's best to select it again and point it to the correct node in the correct language. The Extended Content Picker also solves this problem.
Jeroen
Thank you Jeroen,
what you said will help, because I also have the problem to which you described the solution, but I also found the solution of my core problem.
Apparently, sub-nodes need to be re-named as well, or they'll link to the same document.
So, for my EN website, I renamed Page1 into Page1EN for instance.
That works, without any need to modify my menu's xslt, for instance.
Apparently, level 3 pages don't need to be renamed.
Can anyone tell me what make level 2 page different from level 3 that they need to have different names in different subsites? This is not clear to me yet.
Hmm perhaps you have the same problem as here? http://our.umbraco.org/forum/getting-started/installing-umbraco/28790-Multiple-multilingual-website-hostname-problem
Or perhaps you need set umbracoHideTopLevelNodeFromPath in the web.config to false. And as final option you could set useDomainPrefixes to true in umbracoSettings.config.
Jeroen
Thank you for your help.
Actually, renaming my level 2 pages seemed to solve my problem, and things are woking fine now.
I am just cursious as to why level 2 is important to rename (as opposed to level 3, which I didn't need to rename).
I originally thought only level 1 needed different names since it holds the root.
It works well now, but I just want to understand this subtility of Umbraco. (Making it work is cool, understanding why is better :-) )
Could you show how the url's or level 2 look like and how the url's of level 3 look like? If you change the name of a level 2 node this name which is also part of the level 3 node will also change. That's why you don't need to do the same for level 3.
Jeroen
Thanks Jeroen,
here is what my url for a level2 page looks like :
French : http://www.mysite.com/mypage.aspx
English : http://www.mysite.com/mypage-en.aspx
Level 3 :
French : http://www.mysite.com/mypage/subpage.aspx
English : http://www.mysite.com/mypage-en/subpage.aspx
You are right, the url for level 3 pages change as well.
So, I was misleaded to believe only level 1 pages needed to have different names, and what corrected the problem was to also give level 2 page different names.
I have two questions :
1 - Can I use that as a general rule if I need to do a multilingual site again?
2 - What is the reason why level 2 pages are important name-wise? Intuitively, i would say only the root is important. Is it because I choose not to hide the top level node from path?
Thanks again
Basically the names of the EN and FR nodes are the same so the url's are also the same because you hide the toplevel domain. If you don't hide that they will get unique url's and you don't need to change the node names.
Jeroen
Thank you very much,
the way it works is clear to me now.
I will keep the top level domain hidden, because it is convenient for most of my macros.
But now, thanks to you I have a better understanding, and I may choose the other option for a future website, if it fits the needs.
Thank you again.
is working on a reply...