Solved

Multi- language website

Posted on 2008-06-20
13
390 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
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.

 
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
 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

809 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