Imagine you want to create a website in English, Italian and Portuguese. You can use the Entry page to add the buttons with which visitors choose the language they prefer.
▪ | First of all, create your website in English, defining the structure and contents, and in Website Settings set "EN = English" as the Content Language. |
▪ | In Step 1 - Website Settings | Advanced click on the Entry page button and, in the window that opens, select the Show the Entry Page option, then select Show the Entry page and ask for the choice of language, specifying the picture/animation to use as the Page Background and giving all the necessary settings to obtain the style you want. |
▪ | Use the available commands to make up the Language List. Select "Deutsch", "Español" and "Français" as unavailable languages and click on the Remove button. Then click on the Add... button to open the Language Settings window and add Portuguese: type ""Português" as the Language name to show and import a file for the picture to associate with it (this is often the nation's flag). |
▪ | Select "English" and "Italiano" and click on the Edit... button to open the Language Settings window and add the pictures for the flags for these languages. |
▪ | As the current project is in English (the only language associated with the Entry page), select "English" from the Language List and click on the Current button. |
▪ | Use the Move up / Move down buttons to put the languages in the order you prefer. |
When you have added the pictures for the flags, you have to set up links on them. A website will be created for each language, and published online, so you can create a link with a URL:
▪ | In the Language List window, select "Italiano" and click on the Edit... button to open the Language Settings window. |
▪ | Click on the button for the Link for this Language (eg show the WebSite in this language) option and then select File or URL in the Link window and enter the URL for your website in Italian: for example http//www.mysite.com/it/index.html, if you are going to publish the Italian site in the "it" subfolder of the main folder on the Server. |
▪ | Repeat the same operations for your website in Portuguese, linking it to the relative URL: for example, http//www.mysite.com/pt/index.html, if you are going to publish your Portuguese website in the "pt" subfolder of the main folder on the Server. |
Now your website is ready for the choice of languages, but you still need the contents in Italian and Portuguese.
▪ | Make a copy of your English website to speed up the creation of the site in Italian: in the first Project Selection window, select the website project in English and click on the Duplicate button. Then click on the Rename button to change the name to that of the new project in Italian. |
▪ | Open the copy of the project and, in Website Settings, set "IT - Italian" as the Content Language: translate all the text and any other elements that depend on the language. |
▪ | When you have completed the project in Italian, do the same for your website in Portuguese. |
To publish the websites on the Server, you have to follow this procedure:
▪ | Publishing the website in English: the website in English is the one associated with the Entry page, and is defined as the "default" website. When you publish the website, an index.html file will be created, that corresponds to the Entry page, and it will be saved in the publishing folder. You will need to create "it" and "pt" subfolders on the Server so that the URLs for these sites work. |
When you have finished this part, the English website will be online, and the links in the Entry page to the other languages will be active, even though they do not actually go anywhere at the moment.
▪ | Publishing the website in Italian: the link in the Entry page of the English website will only work if you publish the Italian website in the "it" subfolder you have created on the Server. |
▪ | Publishing the website in Portuguese: the link in the Entry page of the English site will only work if you publish the Portuguese website in the "pt" subfolder on the Server. |
When you have published all three websites in the correct subfolder, the buttons in the Entry page will work correctly and visitors will be able to choose which language they want to visit the site in.
|
You can use the Link for this Language (eg show the WebSite in this language) option in the Language Settings window to associate any type of action with the pictures representing the various languages (usually an image of that nation's flag). This means that, instead of having to link an entire site, as we saw in the example, you can link just one page or a message to say that the site in a particular language is not yet available, but it will be soon, or a PDF document with all the information that you want to give on a language, or anything else.
|
|