Can someone help me with a code for index.php which will define users language by Google's Geoip Location command "geoip_country_code_by_name"?
I need users from Macedonia (MK) to be given "mk" language, and all others countries (from a two letter code list) to be given "en" language.

P.S: I'm using an Auto Classified script.