Chnaging language depending upon country choose in the PC - HTML
-
Hi All, I want to change text in my html page to the language selected by the user in his/her PC. how can i do this im using only HTML and javascript(no asp.net) With Regards Amjath
-
Hi All, I want to change text in my html page to the language selected by the user in his/her PC. how can i do this im using only HTML and javascript(no asp.net) With Regards Amjath
Amjath Rahman wrote:
im using only HTML and javascript(
You can get the client's IP address by using Javascript. (The fact whether JS can get the correct IP address or not is the different story. Generally, you can get it with JS.) then, In order to know the client's country based on IP address, you should the countries list and IP addresses range for all countries.. OR you can use the free service like GeoDirection[^] to get the country name based on the IP address. then, you can redirect the HTML page that is already localized. (example[^])
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)