i need to define a predefined language, it will be possible to change from Spanish to Portuguese, Spain time is GMT+2 and Portugal GMT+1, the time zone from the server is GMT+2, so i can know from wich country the user is accessing, and define the language that is more convenient. I was thinking about define a cookie and import a file with some php conditions using AJAX.
What do you suggest? Any hints?
It would be more effective to use php’s variable
$_SERVER['HTTP_ACCEPT_LANGUAGE']!