Google Maps Platform APIs below use language parameter to display results in a specific language:
- Maps JavaScript API
- Geocoding API
- Directions API
- Distance Matrix API
- Places API
This an optional parameter that takes in an IETF language code which consists of two or more character code values to represent a language. The API results will be returned in the language specified in the request. Few examples:
- en: English
- en-GB: English (Great Britain)
- zh-CN: Chinese (Simplified)
- pt-BR: Portuguese (Brazil)
- sw: Swahili
Example usage for Geocode API:
https://maps.googleapis.com/maps/api/geocode/json?address=Ichiran+Ramen+Shibuya+City+Tokyo+JP&language=ja&key=<YOUR_API_KEY>
Full list of supported languages can be found in Google Maps Platform FAQ > Supported Languages.
Comments
0 comments
Please sign in to leave a comment.