Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Multi- language website

Posted on 2008-06-20
13
Medium Priority
?
394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

 
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 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

721 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