Reputation: 3
https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJDzcum_mb_DkRk5QKN0b39C4&key=api_key
I requested this API and received the review, but it appears that my review text is in Bengali while the displayed text is in English. How can I ensure that English reviews are shown in English and Bengali reviews are shown in Bengali or their respective languages?
I will display the language in which the user has provided a review on my web site.
Upvotes: 0
Views: 287
Reputation: 1603
The Place Details API offers an optional parameter called reviews_no_translations
that allows you to control this:
https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJDzcum_mb_DkRk5QKN0b39C4&fields=reviews&reviews_no_translations=true&key=api_key
Upvotes: 0