Why aren't Google review texts shown in the language they were written in?

156 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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