Geolocation Language Localization option
-
Hello,
I want turkish location informations from geolocation but i needed to edit php files for it.
function reverse_geocode($latitude, $longitude) { $url = "https://maps.google.com/maps/api/geocode/json?latlng=".$latitude.",".$longitude."&sensor=false";
need to changed to:
function reverse_geocode($latitude, $longitude) { $url = "https://maps.google.com/maps/api/geocode/json?latlng=".$latitude.",".$longitude."&sensor=false&language=tr®ion=tr_TR";
and
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
need to changed to
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true&language=tr®ion=tr_TR"></script>
basically i added &language=tr®ion=tr_TR section.. is there any chance to give an option for those so i dont need to edit plugin?
- The topic ‘Geolocation Language Localization option’ is closed to new replies.