簡體   English   中英

Google Place自動完成語言

[英]Google place autocomplete language

我正在使用Google Places自動完成功能。

源代碼在這里:

https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

我注意到,當瀏覽器為英語時,它將以英語返回結果,而當瀏覽器為希伯來語時,它將以希伯來語返回結果。

無論瀏覽器使用哪種語言,我都希望所有結果以希伯來語返回。

我需要做什么?

加載API時使用language-parameter:

https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&language=iw

https://developers.google.com/maps/faq#languagesupport

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM