• 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&region=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&region=tr_TR"></script>

    basically i added &language=tr&region=tr_TR section.. is there any chance to give an option for those so i dont need to edit plugin?

    https://www.ads-software.com/extend/plugins/geolocation/

  • The topic ‘Geolocation Language Localization option’ is closed to new replies.