Closed klemens-u closed 2 years ago
Hello, whatever I try, setting the locale is ignored when using a geo ip service like FreeGeoIp or GeoPlugin.
Environment:
# See the docs at https://github.com/geocoder-php/BazingaGeocoderBundle bazinga_geocoder: providers: free_geo_ip: factory: Bazinga\GeocoderBundle\ProviderFactory\FreeGeoIpFactory #factory: Bazinga\GeocoderBundle\ProviderFactory\GeoPluginFactory locale: de_AT aliases: - geocoder_free_geo_ip
$geoq = GeocodeQuery::create('80.110.176.152')->withLocale('de_AT'); $visitorLocation = $this->geocoder_free_geo_ip->geocodeQuery($geoq)->first(); var_dump($visitorLocation)
It always returns "Vienna" instead of "Wien".
Thank you for this issue. Can you debug this? Is the 'locale' passed to the provider? Does the provider support that locale?
'locale'
Any updates here?
Hello, whatever I try, setting the locale is ignored when using a geo ip service like FreeGeoIp or GeoPlugin.
Environment:
It always returns "Vienna" instead of "Wien".