However, they want a master home-page from which the user can select the language. If I follow this structure in the Umbraco content tree, by default the above URLs will become:
I'd prefer not to have the additional level 'master' in there. I could separate this out in the content tree so that the master page is just a single page and the other folders aren't nested within it, but I wondered if this was the best approach?
You could have all the nodes under a single master node. Somehow the first (master) node isn't displayed in the url. You shouldn't have to change anything :).
This is because of the following appsetting: umbracoHideTopLevelNodeFromPath. This value is true by default. If you set it to false the top level node will also display.
I took a screenshot of my node tree. Is this the correct idea? I know I have to delete the entries under home and have to design a new entry site where you can choose the language or am I wrong?
I would like to have 2 buttons where I can choose the node separated for each page. This means to change language and having the english pages and menu.
Structure of multi-language site
Hi,
I have a requirement to build a multi-language site without using sub-domains, so the most obvious structure, I think, would be like this:
http://www.example.com/en/home.aspx
http://www.example.com/en/contact-us.aspx
http://www.example.com/it/home.aspx
http://www.example.com/it/contact-us.aspx
etc
However, they want a master home-page from which the user can select the language. If I follow this structure in the Umbraco content tree, by default the above URLs will become:
http://www.example.com/master/en/home.aspx
http://www.example.com/master/en/contact-us.aspx
http://www.example.com/master/it/home.aspx
http://www.example.com/master/it/contact-us.aspx
etc
I'd prefer not to have the additional level 'master' in there. I could separate this out in the content tree so that the master page is just a single page and the other folders aren't nested within it, but I wondered if this was the best approach?
Thoughts appreciated.
Thanks all...
You could have all the nodes under a single master node. Somehow the first (master) node isn't displayed in the url. You shouldn't have to change anything :).
Doh! Yep - completely overlooked that very simple fact, thanks Jeroen!
This is because of the following appsetting: umbracoHideTopLevelNodeFromPath. This value is true by default. If you set it to false the top level node will also display.
Hi,
I took a screenshot of my node tree. Is this the correct idea? I know I have to delete the entries under home and have to design a new entry site where you can choose the language or am I wrong?
best regards
I would like to have 2 buttons where I can choose the node separated for each page. This means to change language and having the english pages and menu.
thx
is working on a reply...