|
| |
|
|
Debs
Posts: 4 Joined: 6/29/2008 From: France Status: offline
|
publishing translated website - 9/2/2008 8:54:49
Can anyone guide a newbie. I have translated my website into French and need to publish the translated version but not sure how to go about it and a bit worried I may muck up my original website. Appreciate any help from all you experts!!
|
|
|
|
TexasWebDevelopers
Posts: 228 Joined: 2/22/2002 From: Status: offline
|
RE: publishing translated website - 9/2/2008 9:50:57
You have many options depending on your needs. For a dual Chinese/English site we simply published the Chinese version as a sub-web and included a link on each page of the site to its sister site (e.g. the homepage in English had a link to the homepage in Chinese and vice-versa). This would be cumbersome in a large site to implement. In a different site (an ASP shopping cart) we contained all of the languages in include files and referenced them as ASP routines. When the user selected the "language" the include file was selected for that language. Another way is to contain your content in a database. When clicking on the language button the database call is for that specific page content in the language of choice.
|
|
|
|
Debs
Posts: 4 Joined: 6/29/2008 From: France Status: offline
|
RE: publishing translated website - 9/2/2008 10:09:22
Thanks for that it was the sub web part I wasn't sure about could you explain a little further if you don't mind I really am a novice so don't think you are insulting my intelligence by being very basic It took me a long time to do my website to trash it now. I justy copied my original web into french I have the flags linking both homepages together and am ready now to make my french version live I just don't want to overwrite original. Many Thanks
|
|
|
|
TexasWebDevelopers
Posts: 228 Joined: 2/22/2002 From: Status: offline
|
RE: publishing translated website - 9/2/2008 17:13:14
Think of it this way: when you publish to your "root" web on the hosted server you are putting your html pages and images and other folders inside one big folder called www. yoursite .com. The server knows what types of page names equal a "home" or landing page: index.htm, index.html, index.asp, index.php, default.htm, default.html, default.asp, default.php, and on and on. When you type in www. your site .com the browser is looking for www. yoursite .com/default.htm. If your images are in a folder named "images" then the path is www. yoursite .com/images However, since the images folder has no "home page" the user is not allowed to browse inside of it (access to the contents of a folder with no home page is automatically restricted on Microsoft servers but restriction must be set on Linux/Unix servers). So on to your solution. Create a folder inside your root web named something like "French". Now upload your new web site into that folder. When the user types in www. yoursite .com/French the browser will find the home page inside the "French" folder and will now display the site. You can then link the French language pages to the equivalent English language pages if you wish.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|