Viewing 1 replies (of 1 total)
  • Thread Starter Website Tutorials

    (@fakeartist)

    I have an update. The Google API has a default language the english language. To change the output you must add your prefered language when you load the api js file. Here is a list of supported languages. For example, to return greek language, in main.php you change the following line:

    wp_enqueue_script('google-autocomplete', "https://maps.googleapis.com/maps/api/js?v=3&libraries=places&language=el");

Viewing 1 replies (of 1 total)
  • The topic ‘Other languages except for english?’ is closed to new replies.