# Google translation api

**URL:** <https://community.thunkable.com/t/google-translation-api/1289445>\
**Category:** Questions about Thunkable X\
**Tags:** share\
**Created:** [May 17, 2021, 4:30pm UTC](https://community.thunkable.com/t/google-translation-api/1289445 "2021-05-17T16:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 17, 2021, 6:02pm UTC](https://community.thunkable.com/t/google-translation-api/1289445/2 "2021-05-17T18:02:13Z")

</div>

Hi @tony.ycy.program, are you just sharing how to do something or do you have a question?

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/b/1be2259feadce549acba8a2dbedf90f129653167.png)

Your blocks aren’t going to work because the “sentences” property is a list (known as a JSON array). You need to get the first list item of “sentences” and then get the “trans” property from that.

When you see [1], that means there is a single array item. That item doesn’t have a property name “0”… that’s just a list index. It counts up from 0… 1… 2… etc.

A shortcut is to get the property name “sentences[1].trans” from the JSON object. [See this](https://community.thunkable.com/t/api-json-tutorial-video/1140575/15).

---

_[View the full topic](https://community.thunkable.com/t/google-translation-api/1289445)._
