My way of building Umbraco sites in different languages
Tuesday, July 13, 2010 10:56:46 PM
First, let's create some more languages! Go to the settings section of your Umbraco installation. Right click on "Languages" and hit "create", add the languages you would like to use in your multi-language site. I added "French (Belgium)" and "Dutch (Belgium)" on top of the "English (United States)".
Second, go to the Content section and create nodes in the root of your site. I created 3, 1 for my Dutch site "NL", 1 for the French names "FR" and 1 for the English one "EN".
Next, right click a node and hit "manage hostnames" (it can be a fake one...) f.e. i added dummy.be and choose "Dutch (Belgium)" for my "NL" node. Now do the same for the other ones...
!! If you are doing like me and adding the nodes in the root of your site and adding fake hostnames you should disable "hidetoplevelnodefrompath" in the web.config, just saying

Now off you go, in the templates attached to your document types you can now use dictionary items to add content that is not likely to change often, all other content you can just grab off of the current document.
What'll not work out of the box with this approach is f.e. when you're on the Dutch version of a page and want to change languages but stay on the same page. You can however make a nice solution for this with the relationship API, more info here



Unregistered user # Wednesday, July 14, 2010 3:37:39 AM
Unregistered user # Friday, August 6, 2010 6:33:54 PM
Unregistered user # Sunday, August 8, 2010 8:00:26 PM
Unregistered user # Saturday, August 28, 2010 1:47:01 AM
Unregistered user # Saturday, September 25, 2010 10:41:23 PM
Unregistered user # Thursday, October 13, 2011 11:31:05 AM