Solved

Multi- language website

Posted on 2008-06-20
13
389 Views
Last Modified: 2010-04-16
Hello All,

I need to develop a website with multi- language feature. When you click French button, it will show you French language website; if you click Spanish it will show you Spanish website and English if you click English button.

How does this work??

Do you need to create separate website for each language or there is any software you just added on your server.

Can some one help me for this??

Thanks in advance for your time and help
0
Comment
Question by:skystar
  • 6
  • 4
  • 2
13 Comments
 
LVL 1

Expert Comment

by:zak666999
ID: 21834004
You can use google translator. enter your URL into http://translate.google.com/translate_t copy and paste the URL out onto your sites link. dont forget  to remove the frame from the top of the page before coying the link.

like here
http://translate.google.com/translate?u=http%3A%2F%2Fwww.experts-exchange.com%2FProgramming%2FLanguages%2FScripting%2FQ_23503222.html&hl=en&ie=UTF8&sl=en&tl=es
0
 
LVL 10

Expert Comment

by:oleber
ID: 21836547
Hy.

The way I did it was considering a argument in the URL.
   If the argument exists, you know where you are
   otherwise, check the host.
And send the control to different scripts.

Usually the problem can be solved, without changing more then a Template and run the same code. In the worst cases you have a hash with string for each language.
0
 

Author Comment

by:skystar
ID: 21842619
thanks zak666999 and oleber for your reply,

I try what zak666999 said, it is very good to see website in different languages.
But I have to develope a website in three different languages, Do I need to develope three different websites or what ????

And oleber, What you means, Do I need only one template? Could you please explain me little more??

Thanks again for your help and time.
0
 
LVL 10

Expert Comment

by:oleber
ID: 21843707
The opposite.

Remember of the MVC model, If you have a good template model and with an additional simple file logic you can have the some Model and Control for all this 3 languages.

So If you are careful you just need a different View Layer (Template).
0
 
LVL 1

Expert Comment

by:zak666999
ID: 21844234
No you dont have to built three different websites.
Here is the link for google translater http://translate.google.com/translate_t. enter the url at the bottom of the page then pick the Language you would like to translate to and from.
0
 
LVL 10

Expert Comment

by:oleber
ID: 21844426
zak666999 please. do you think that you have a acceptable quality. Any automatic translator let you know the main idea of one text, not more then that.


Try to convert one text from English to a Latin Language, and again to English and see the quality of the final text. Notice that English is really a simple language.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:skystar
ID: 21848856
thanks again for your reply,
I have to develope simple HTML website for someone, but he want it in three different languanges

Can I do this, even if I do not know that language?? Because I try google website:--- http://translate.google.com/translate

It seams like very easy??
0
 
LVL 10

Expert Comment

by:oleber
ID: 21850003
If you don't know the language ...

See your text English - Portuguese - English:

Thanks again for your response,
I have to develop simple HTML site to someone, but he would have liked in three different languanges

I can do it, even if I do not know what language? Because I try Google website: --- http://translate.google.com/translate

It is very easy seams like?



Feel  happy with the English result, because the Portuguese is terrible.
0
 

Author Comment

by:skystar
ID: 21850181
thanks again,

so what are you suggesting me?
0
 
LVL 10

Expert Comment

by:oleber
ID: 21850225
get someone that knows the language and ask his help.
0
 

Author Comment

by:skystar
ID: 21850923
thanks
Is it means just developing two duplicate website with language different.
0
 
LVL 10

Accepted Solution

by:
oleber earned 125 total points
ID: 21852817
if the website is dynamic and you clearly separate the layers.

This means that you need to have multiple times presentation layer, the remaining stays equal.


If the website is just a set of static webpages. You just have the presentation layer, and that needs to be duplicated.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now