homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Switching between 2 languages - best way
language, switch, script

 3:59 pm on Mar 3, 2009 (gmt 0)

Does anyone know of a good way to switch between content on a billingual site?

I've seen it on a number of sites and I presume it is javascript?




 4:57 pm on Mar 3, 2009 (gmt 0)

It is probably NOT JavaScript, as JavaScript should be used to enhance, not as a requirement for content. It's likely that there is some server side language (PHP, JSP, ASP, etc.) that controls which content is served.


 6:56 pm on Mar 4, 2009 (gmt 0)

Or the HTTP Server itself. For example, Apache has Content Negotiation [httpd.apache.org].


 8:58 am on Mar 7, 2009 (gmt 0)

What you might be referring to is a Google translate link. Tools like this allow you to have your site content translated automatically.


Other than something like this, Fotiman is right -- you need to control translation on the server site. For a smaller site I would just recommend duplicating and maintaining the site in another language. For complex sites you'll need some kind of programming involved.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved