chrislim2888 0 Newbie Poster

Hi Expert,
I'm currently using the javascript as follow to display a greeting message based on visitor's location, as follow:

<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=<CITY>, <COUNTRY><FLAG> - Welcome to my site!"></script>

from http://www.ip2phrase.com

It works, but now i would like to have the auto translation for the phrase "Welcome to my site!" based on country.

For example,

US: Welcome to my site!
China: 欢迎光临我的网站!

Any javascript out-there i can use?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.