-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
Description
Firstly I wanted to say thank you for this great library!
Now my question is, if there is a way to pass a language code to the request to get the city and country name in a specific language?
So for example instead of Zurich / Switzerland
I want to get Zürich / Schweiz
or instead of Dure / Germany
I want to get Düren / Deutschland
. I use Maxmind GeoIP databases which work fine but I always seem to get the result in English.
It could look something like this maybe:
$options = ['lang' => 'de'];
$position = Location::get($ipAddress, $options);
According to MaxMind's documentation they have the names in different languages available: https://support.maxmind.com/hc/en-us/articles/4414877149467-IP-Geolocation-Data