Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

changing languages and currencies

What coding do I use to change this on my site?

5:22 am on Jun 2, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 7, 2003
votes: 0


All I'm interested in doing at this point is showing the prices on my site in multiple currencies and to allow the visitor to read my site in their language, based on the country they are viewing my site from.

Hope this makes sense. I'm not really interested in starting from stratch and setting up my site again under the osCommerce (ecommerce stuff) just to have access to the above mentioned functions.

Thanks in advance for any suggestions.

5:39 am on June 2, 2005 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
votes: 136

If you are talking about different language versions of your site then it would be suggested that you set up separate local domains for each language. You will need to hire a professional translator for each language, and it would help if you could also get a local language copywriter to go over the content as well. Often a straight translation is not enough.
12:22 pm on June 2, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
votes: 0

Browsers usually send an 'Accept-Language' header when they request a page. You can use this to send the appropriate language page to them. It's probably a good idea to let the user override this with a cookie though incase they're don't have control of this setting on their computer.
4:43 am on June 3, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 7, 2003
votes: 0

Thanks for the tips guys!

The language conversion for my site isn't as much of a problem since I have a link to babelfish translator that works great for translating to several different languages.

My main concern is figuring out the coding for converting prices into EURO, Canadian, Yen, etc. I have stumbled across a suggestion to set a session variable equal to the exchange rate and reset it every week. It will then change the prices across the entire website.

Does anybody know how to do this? There's got ot be somebody that knows the EXACT coding to do this.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members