View Full Version : Default language with GeoIP Location

Aleksandar Apostolovski
November 22, 2018, 08:45 PM
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.