Quote:
Originally Posted by ecntrc
I have made a website for my grandma in memory of her since she passed away recently. My family is samoan and some do surf the web most likely in samoan also for those that live in samoa. So Id like to put up a filter or something that when the website is loaded on their computer it will detect their language settings or whatever.. can someone help me out with this? I did a google search but Im wondering if theres an easier way besides PHP, please let me know or any suggestions ect.. Thanks
|
Hi,
I'm not sure what the code for samoan language is, but you can do this very easily with php. Javascript also does have this feature.
with php it is
PHP Code:
$_SERVER['HTTP_ACCEPT_LANGUAGE']
if you would like help implementing this, please contact me.
Greg