Get a localized name of the users city via Maxmind GeoLite2 Free
问题 i want to show the german name of the users city. Is it possible with the free Version of Maxmind Geoip? I did not find a way to open the GeoLite2-City.mmdb or GeoLiteCity.dat, to see which cities are listed, for building my own translation service. How can i open them? 回答1: The GeoIP Legacy database does not include localized names, but the GeoIP2 (or GeoLite2) database does. You may access the localized name as follows: <?php require_once 'vendor/autoload.php'; use GeoIp2\Database\Reader;