How to Show Your Google Map in Any Language in WordPress
If your website serves visitors in more than one language, your map can match. Quick Maps can render the Google Map interface, place labels, and controls in almost any language using a single shortcode attribute, with no API key and no extra plugins.
Use the lang attribute
Add lang with a two-letter language code. The map labels, the “Directions” button, and the terms-of-use text all switch to that language:
[quick-maps lang="es"]Madrid[/quick-maps] ← Spanish
[quick-maps lang="fr"]Paris[/quick-maps] ← French
[quick-maps lang="de"]Berlin[/quick-maps] ← German
Here is a live map of Madrid rendered in Spanish:
Regional variants
You can also pass a language and region together, such as pt-BR for Brazilian Portuguese or en-GB for British English:
[quick-maps lang="pt-BR"]Rio de Janeiro[/quick-maps]
Pair it with other options
The lang attribute works alongside everything else, so you can localize a satellite map or a directions map just as easily:
[quick-maps lang="es" type="hybrid" zoom="15"]Sagrada Familia, Barcelona[/quick-maps]
See the full set of display options in the guide to satellite, terrain, and zoom, or learn how Quick Maps works without a Google Maps API key.