iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-30-2004, 06:23 PM
ajpaulus's Avatar
WebProWorld Member
 
Join Date: Aug 2003
Location: South Bay, California
Posts: 79
ajpaulus RepRank 0
Default Website with different foreign languages

Hi Guys

What is the best way to have a website with options to read it in different languages? Build asp pages or just build different pages by just changing the text and leaving graphics?

If asp, do I need to learn Perl before I attempt to do the asp pages? Or can I just learn the Get and Include codes?

Thanks...Audrey
Reply With Quote
  #2 (permalink)  
Old 10-04-2004, 03:26 PM
WebProWorld Pro
 
Join Date: May 2004
Location: United Kingdom
Posts: 151
php~pro RepRank 0
Default

Hi Audrey

There are many ways of doing this in any serverside language. You can use the methods you mention above or use IP verification to determine the users origin. The favoured method for quick and simple is to use variables for your outputs stored in a language pack. You could offer users a flag or child menu to switch language or create a cookie to auto switch the language file if you have a good volume of returning visitors. It really depends upon your sites needs as to how you go about creating the application.
Reply With Quote
  #3 (permalink)  
Old 10-05-2004, 04:46 PM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 
Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,181
ADAM Web Design RepRank 1
Default

I would, as php^pro suggested, learn a server-side programming language. Use the language to come up with a templated layout, and keep the pages themselve separate.

Then, when the user indicates his/her language of preference, retrieve the appropriate content from a database corresponding with the language selected.

If you do it in ASP (which is probably your easiest bet IMHO) then you need to learn VBScript first. It's a pretty easy language to pick up if you understand the fundamentals of writing in English. Personally, I find it a lot easier to deal with than any other language, but that's just me.

If you get stuck, PM me and I'll help you where and when and how I can.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:23 PM.



Search Engine Optimization by vBSEO 3.3.0