WordPress.org

Support

Support » Plugins and Hacks » Geolocation » Geolocation Language Localization option

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 = "http://maps.google.com/maps/api/geocode/json?latlng=".$latitude.",".$longitude."&sensor=false";

    need to changed to:

    function reverse_geocode($latitude, $longitude) {
    	$url = "http://maps.google.com/maps/api/geocode/json?latlng=".$latitude.",".$longitude."&sensor=false&language=tr&region=tr_TR";

    and
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    need to changed to
    <script type="text/javascript" src="http://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?

    http://wordpress.org/extend/plugins/geolocation/

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