Solved

Multi- language website

Posted on 2008-06-20
13
388 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 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

12 Experts available now in Live!

Get 1:1 Help Now