Since: 3.1.1
File: includes/wp-geo.php
Param: $l Locale code

When loading Google Maps you can specific a locale for the language in which the maps should display. WP Geo will attempt to set this to the same locale as WordPress.

You can view a full list of locale codes supported by Google here…

The wp_geo_locale filter allows you to override the locale code that is used.

Example

function my_wp_geo_locale( $l ) {
	// Force Spanish
	return 'es';
}
add_filter( 'wp_geo_locale', 'my_wp_geo_locale' );